Skip to content

Commit

Permalink
ci: change setting env method
Browse files Browse the repository at this point in the history
  • Loading branch information
TomokiMiyauci committed Apr 10, 2024
1 parent e92395f commit 94bd04b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ jobs:
- name: Get tag version
if: startsWith(github.ref, 'refs/tags/')
id: get_tag_version
run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//}
run: echo "TAG_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

- name: Debug
run: env | grep TAG
env:
TAG: ${{ github.event.release.tag_name}}

- name: Modify jsr config
uses: maxgfr/github-change-json@main
Expand Down

0 comments on commit 94bd04b

Please sign in to comment.