Skip to content

Commit d0100dd

Browse files
authored
Merge pull request #59 from merative/dla-gh-actions
Dla gh actions
2 parents eefa9f3 + e782c4c commit d0100dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-test-deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup Node
6363
uses: actions/setup-node@v1
6464
with:
65-
node-version: '14'
65+
node-version: '18'
6666

6767
- name: Install Semantic Release dependencies
6868
run: |
@@ -78,7 +78,7 @@ jobs:
7878
env:
7979
GH_TOKEN: ${{ secrets.GH_TOKEN }}
8080
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
8282

8383
- name: Publish to git releases and tags
8484
if: ${{ steps.next_release.outputs.NEXT_RELEASE != null }}
@@ -88,7 +88,7 @@ jobs:
8888
run: |
8989
echo "The next release is ${{ steps.next_release.outputs.NEXT_RELEASE }}"
9090
npx semantic-release
91-
91+
9292
- name: Build project
9393
if: ${{ steps.next_release.outputs.NEXT_RELEASE != null }}
9494
run: |

0 commit comments

Comments
 (0)