Skip to content

Commit

Permalink
fix env in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kamijin-fanta committed May 1, 2024
1 parent 0cab427 commit 4fb5f38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
publish_dir: ./packages/preview-astro/dist
if: github.ref == 'refs/heads/master'
- name: generate notes
run: gh api /repos/react-icons/react-icons/releases/generate-notes -f tag_name=${{ env.GITHUB_REF_NAME }} --jq .body >> RELEASE_NOTES
run: gh api /repos/react-icons/react-icons/releases/generate-notes -f tag_name=${GITHUB_REF#tags/} --jq .body >> RELEASE_NOTES
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: contains(github.ref, 'tags/')
Expand All @@ -45,6 +45,9 @@ jobs:
echo >> RELEASE_NOTES
cat packages/react-icons/VERSIONS >> RELEASE_NOTES
if: contains(github.ref, 'tags/')
- name: cat
run: cat RELEASE_NOTES
if: contains(github.ref, 'tags/')
- name: Release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 4fb5f38

Please sign in to comment.