Skip to content

Commit 5e33c61

Browse files
committed
Fix CI
1 parent ff450c9 commit 5e33c61

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/pipeline.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: regionaldialect-patch-600
1+
name: RegionalDialect
22
on:
33
push:
44
tags:
@@ -16,6 +16,7 @@ jobs:
1616
uses: actions/checkout@v2
1717
with:
1818
submodules: true
19+
fetch-depth: '0'
1920

2021
- name: Build the project
2122
run: make
@@ -31,23 +32,20 @@ jobs:
3132
path: subsdk9
3233

3334
- name: Get Next Version
34-
id: semver
35-
uses: ietf-tools/semver-action@v1
35+
id: getver
36+
uses: anothrNick/github-tag-action@v1
3637
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref_name == 'master')
37-
with:
38-
token: ${{ github.token }}
39-
branch: master
40-
fallbackTag: 0.0.0
41-
patchAll: true
42-
noVersionBumpBehavior: patch
43-
noNewCommitBehavior: warn
38+
env:
39+
GITHUB_TOKEN: ${{ github.token }}
40+
TAG_PREFIX: v
41+
DEFAULT_BUMP: patch
4442

4543
- name: Create GitHub Release
4644
uses: softprops/action-gh-release@v1
4745
if: github.event_name == 'push' && ((startsWith(github.ref, 'refs/tags') || github.ref_name == 'master'))
4846
with:
4947
files: |
5048
subsdk9
51-
tag_name: ${{ steps.semver.outputs.next }}
49+
tag_name: ${{ steps.getver.outputs.new_tag }}
5250
env:
5351
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)