1+ name : Release
12on : [push, pull_request]
23
34jobs :
89 - uses : actions/checkout@v4
910 with :
1011 fetch-depth : 0
11- lfs : true
12+ lfs : true
1213 - name : Fetch next version
1314 id : nextVersion
1415 uses : VisualPinball/next-version-action@v0
1516 with :
16- tagPrefix : ' v '
17+ tagPrefix : " v "
1718 - name : Bump
18- if : ${{ steps.nextVersion.outputs.isBump == 'true' }}
19+ if : ${{ steps.nextVersion.outputs.isBump == 'true' }}
1920 run : |
20- npm version ${{ steps.nextVersion.outputs.nextVersion }} --no-git-tag-version
21+ npm version ${{ steps.nextVersion.outputs.nextVersion }} --no-git-tag-version
2122 - name : Commit
2223 id : commit
23- if : ${{ steps.nextVersion.outputs.isBump == 'true' }}
24+ if : ${{ steps.nextVersion.outputs.isBump == 'true' }}
2425 run : |
2526 git config user.name "github-actions"
2627 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
@@ -34,18 +35,17 @@ jobs:
3435 - name : Create Release
3536 uses : softprops/action-gh-release@v2
3637 with :
37- tag_name : ${{ steps.nextVersion.outputs.nextTag }}
38- name : ${{ steps.nextVersion.outputs.nextTag }}
39- prerelease : ${{ steps.nextVersion.outputs.isPrerelease }}
40- target_commitish : ${{ steps.commit.outputs.commitish }}
41- token : ${{ secrets.GITHUB_TOKEN }}
38+ tag_name : ${{ steps.nextVersion.outputs.nextTag }}
39+ name : ${{ steps.nextVersion.outputs.nextTag }}
40+ prerelease : ${{ steps.nextVersion.outputs.isPrerelease }}
41+ target_commitish : ${{ steps.commit.outputs.commitish }}
42+ token : ${{ secrets.GITHUB_TOKEN }}
4243
4344 dispatch :
4445 runs-on : ubuntu-latest
45- needs : [ release ]
46+ needs : [release]
4647 steps :
47- - name : Repository Dispatch
48- uses : peter-evans/repository-dispatch@v3
49- with :
50- event-type : release-complete
51-
48+ - name : Repository Dispatch
49+ uses : peter-evans/repository-dispatch@v3
50+ with :
51+ event-type : release-complete
0 commit comments