Skip to content

Commit efe5728

Browse files
authored
Update rust.yaml
1 parent ab460a2 commit efe5728

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/rust.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ jobs:
4242
id: is-release
4343
shell: bash
4444
run: |
45-
unset IS_RELEASE ; if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true' ; fi
46-
echo ::set-output name=IS_RELEASE::${IS_RELEASE}
45+
unset IS_RELEASE
46+
if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true'; fi
47+
echo "IS_RELEASE=${IS_RELEASE}" >> $GITHUB_OUTPUT
4748
4849
- name: Artifact upload (Windows)
4950
uses: actions/upload-artifact@master
@@ -88,8 +89,9 @@ jobs:
8889
id: is-release
8990
shell: bash
9091
run: |
91-
unset IS_RELEASE ; if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true' ; fi
92-
echo ::set-output name=IS_RELEASE::${IS_RELEASE}
92+
unset IS_RELEASE
93+
if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true'; fi
94+
echo "IS_RELEASE=${IS_RELEASE}" >> $GITHUB_OUTPUT
9395
9496
- name: Upload universal app bundle
9597
uses: actions/upload-artifact@v4
@@ -123,4 +125,3 @@ jobs:
123125
uses: hmarr/auto-approve-action@v4
124126
with:
125127
github-token: ${{ secrets.GITHUB_TOKEN }}
126-

0 commit comments

Comments
 (0)