GH Actions: use of set-env is deprecated (#2442)

This commit is contained in:
Surendrajat 2020-10-07 22:21:25 +05:30 committed by GitHub
parent c49cbc9f01
commit de74675861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ jobs:
../src
cmake --build . --config Release
cmake --build . --config Release --target package
echo ::set-env name=PACKAGE_NAME::%PACKAGE_NAME%.zip
echo PACKAGE_NAME=%PACKAGE_NAME%.zip >> %GITHUB_ENV%
- uses: actions/upload-artifact@v2
if: env.PACKAGE_NAME != null
with: