Merge pull request #2029 from RadWolfie/update-env-method

Action: Replace Deprecated Method to New Method for Set Environment
This commit is contained in:
Luke Usher 2020-11-12 08:57:54 +00:00 committed by GitHub
commit 498cf39664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ jobs:
name: ${{ env.artifact_2 }}
- name: Prepare artifacts for release
run: | # download-artifact doesn't download a zip, so rezip it
echo "::set-env name=short_commit_sha::$(git rev-parse --short HEAD)"
echo "short_commit_sha=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
7z a -mx1 "$env:artifact_1.zip" ".\$env:artifact_1\*"
7z a -mx1 "$env:artifact_2.zip" ".\$env:artifact_2\*"
- name: Create Release