Use step output environment file
See also: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
@@ -80,7 +80,7 @@ jobs:
|
||||
run: cargo build --release --target ${{ matrix.target }} ${{ matrix.features }}
|
||||
- name: Extract git tag
|
||||
shell: bash
|
||||
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/})"
|
||||
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
||||
id: extract_tag
|
||||
- name: Packaging assets
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user