From 3a89f14deab7c91f230d2c4901271a2b0a4aac7b Mon Sep 17 00:00:00 2001 From: jongwooo Date: Sun, 19 Mar 2023 00:18:59 +0900 Subject: [PATCH] Replace deprecated command with environment file Signed-off-by: jongwooo --- .github/workflows/releases.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 606327059..7ed0c3fa9 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -24,7 +24,7 @@ jobs: - name: Generate changelog id: changelog run: | - echo "::set-output name=tag-name::${GITHUB_REF#refs/tags/}" + echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT gh api repos/$GITHUB_REPOSITORY/releases/generate-notes \ -f tag_name="${GITHUB_REF#refs/tags/}" \ -f target_commitish=trunk \ @@ -143,7 +143,7 @@ jobs: shell: bash run: | hub release download "${GITHUB_REF#refs/tags/}" -i '*windows_amd64*.zip' - printf "::set-output name=zip::%s\n" *.zip + printf "zip=%s\n" *.zip >> $GITHUB_OUTPUT unzip -o *.zip && rm -v *.zip env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} @@ -165,7 +165,7 @@ jobs: shell: bash run: | base64 -d <<<"$CERT_CONTENTS" > ./cert.pfx - printf "::set-output name=cert-file::%s\n" ".\\cert.pfx" + printf "cert-file=%s\n" ".\\cert.pfx" >> $GITHUB_OUTPUT env: CERT_CONTENTS: ${{ secrets.WINDOWS_CERT_PFX }} - name: Sign MSI