change: replace deprecated set-output command with environment file in Github Actions (#1226)

pull/1228/head
Jongwoo Han 2 years ago committed by GitHub
parent dd711ff464
commit 0f9ca6097b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/docs.yml
  2. 2
      .github/workflows/release.yaml

@ -38,7 +38,7 @@ jobs:
run: |
git config --global user.name ghaction-k3d.io
git config --global user.email ghaction@k3d.io
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
echo tag=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT
- name: Build & Deploy with Mike (versioned)
if: startsWith(github.ref, 'refs/tags/')
run: |

@ -214,7 +214,7 @@ jobs:
- name: Extract Tag from Ref
if: startsWith(github.ref, 'refs/tags/')
id: tag
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
run: echo VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
shell: bash
- uses: apexskier/github-semver-parse@v1
if: startsWith(github.ref, 'refs/tags/')

Loading…
Cancel
Save