Skip to content

Commit 66fe522

Browse files
Update output setting in publish-dev workflow
1 parent 54224a6 commit 66fe522

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish-dev.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222
- name: Check previous released version
2323
id: pre-release
2424
run: |
25-
if [[ $(npm view @necord/localization@dev version | grep -e "$(jq --raw-output '.version' package.json)-dev.*.$(git rev-parse --short HEAD | cut -b1-3)") ]]; \
26-
then echo '::set-output name=release::false'; \
27-
else echo '::set-output name=release::true'; fi
25+
if [[ $(npm view @necord/localization@dev version | grep -e "$(jq --raw-output '.version' package.json)-dev.*.$(git rev-parse --short HEAD | cut -b1-3)") ]]; then
26+
echo "release=false" >> "$GITHUB_OUTPUT"
27+
else
28+
echo "release=true" >> "$GITHUB_OUTPUT"
29+
fi
2830
2931
- name: Install dependencies
3032
run: yarn install --frozen-lockfile

0 commit comments

Comments
 (0)