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:
parent
10b6839d9c
commit
7c2b56b1e9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue