From bd80670345f7d31f660caf4fe8c60e4fa8e7f9b1 Mon Sep 17 00:00:00 2001 From: Henrik Friedrichsen Date: Mon, 24 Jul 2023 01:58:13 +0200 Subject: [PATCH] Use step output environment file See also: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b29f025..fad4121 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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