From 190b1daa829943830a9643aa33efdc481fd5928c Mon Sep 17 00:00:00 2001 From: Patrik Egyed Date: Tue, 6 Dec 2022 18:45:04 +0100 Subject: [PATCH] ci(GHA): replaced set-output with GITHUB_OUTPUT Reason: deprecated, will be removed in 2023-05-31. Details: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Command: grep -R -l "::set-output" . | xargs -n 1 sed -E -i '' 's/"?::set-output name=([^:]+)::([^"]+)"?$/"\1=\2" >> $GITHUB_OUTPUT/g' --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51ca2bc..5bb58ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: - name: Set ref id: set-ref - run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} + run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - name: Trigger pke-image build uses: actions/github-script@v6