Replace `set-output` in GitHub Actions workflows (#452)

`set-output` is being deprecated as per https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
pg9182 2023-04-21 20:34:48 -04:00 committed by GitHub
parent 10b6839d9c
commit 7c2b56b1e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: Extract Short Commit Hash
id: extract
shell: bash
run: echo ::set-output name=commit::`git rev-parse --short HEAD`
run: echo commit=$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
with: