Skip to content

Commit 5afd2e4

Browse files
srinikhil-07calebcartwright
authored andcommitted
Update deprecated set-env
1 parent 458131c commit 5afd2e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/upload-assets.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ jobs:
5757
if [ "${{ matrix.os }}" = "windows-latest" ]; then
5858
cp "target/release/{rustfmt.exe,cargo-fmt.exe,rustfmt-format-diff.exe,git-rustfmt.exe}" "$staging/"
5959
7z a "$staging.zip" "$staging"
60-
echo "::set-env name=ASSET::$staging.zip"
60+
echo "ASSET=$staging.zip" >> $GITHUB_ENV
6161
else
6262
cp "target/release/{rustfmt,cargo-fmt,rustfmt-format-diff,git-rustfmt} "$staging/"
6363
tar czf "$staging.tar.gz" "$staging"
64-
echo "::set-env name=ASSET::$staging.tar.gz"
64+
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
6565
fi
6666
6767
- name: Upload Release Asset

0 commit comments

Comments
 (0)