File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2727 steps :
2828 - uses : actions/checkout@v2
2929 with :
30- persist-credentials : false
30+ token : ${{ secrets.GH_TOKEN }}
31+ persist-credentials : true
3132
3233 - name : Set up Python
3334 uses : actions/setup-python@v2
6566 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
6667 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
6768 run : |
68- echo ::set-output name= IS_NEW_RELEASE:: $(npx semantic-release --dry-run | grep -c -i "Published release")
69+ echo " IS_NEW_RELEASE= $(npx semantic-release --dry-run | grep -c -i "Published release")" >> $GITHUB_OUTPUT
6970 echo "The full TAG - ${{ github.ref }}"
7071
7172 - name : Get the nextRelease.version from semantic release
7475 env :
7576 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
7677 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
77- run : echo ::set-output name= NEXT_RELEASE:: $(npx semantic-release --dry-run | grep -oP "Published release \K[0-9]+\.[0-9]+\.[0-9]+")
78+ run : echo " NEXT_RELEASE= $(npx semantic-release --dry-run | grep -oP "Published release \K[0-9]+\.[0-9]+\.[0-9]+")" >> $GITHUB_OUTPUT
7879
7980 - name : Publish to Git Releases and Tags
8081 if : ${{ steps.is_new_release.outputs.IS_NEW_RELEASE == '1' }}
You can’t perform that action at this time.
0 commit comments