Skip to content

Commit

Permalink
change: replace deprecated set-output command with environment file i…
Browse files Browse the repository at this point in the history
…n Github Actions (#1226)
  • Loading branch information
jongwooo authored Mar 9, 2023
1 parent dd711ff commit 0f9ca60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
git config --global user.name ghaction-k3d.io
git config --global user.email [email protected]
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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down

0 comments on commit 0f9ca60

Please sign in to comment.