File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 62
62
- name : Setup Node
63
63
uses : actions/setup-node@v1
64
64
with :
65
- node-version : ' 14 '
65
+ node-version : ' 18 '
66
66
67
67
- name : Install Semantic Release dependencies
68
68
run : |
78
78
env :
79
79
GH_TOKEN : ${{ secrets.GH_TOKEN }}
80
80
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
- run : echo ::set-output name= NEXT_RELEASE:: $(npx semantic-release --dry-run | grep -oP "Published release \K[0-9]+\.[0-9]+\.[0-9]+") # null if no published release
81
+ run : echo " NEXT_RELEASE= $(npx semantic-release --dry-run | grep -oP "Published release \K[0-9]+\.[0-9]+\.[0-9]+")" >> $GITHUB_OUTPUT
82
82
83
83
- name : Publish to git releases and tags
84
84
if : ${{ steps.next_release.outputs.NEXT_RELEASE != null }}
88
88
run : |
89
89
echo "The next release is ${{ steps.next_release.outputs.NEXT_RELEASE }}"
90
90
npx semantic-release
91
-
91
+
92
92
- name : Build project
93
93
if : ${{ steps.next_release.outputs.NEXT_RELEASE != null }}
94
94
run : |
You can’t perform that action at this time.
0 commit comments