File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [master]
66
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
711jobs :
812 release :
913 # Only run this job for commits that indicate a release
10- if : {{ startsWith(github.event.head_commit.message, 'chore(repo): release') }}
14+ if : " $ {{ startsWith(github.event.head_commit.message, 'chore(repo): release') }}"
1115 runs-on : ubuntu-latest
1216
1317 steps :
1418 - name : 📚 Checkout branch
1519 uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
1622
1723 - name : 🏷️ Extract Version Tag
1824 id : extract_tag
4450 - name : 🚀 Create GitHub Release
4551 uses : softprops/action-gh-release@v1
4652 with :
47- make_latest : true
4853 generate_release_notes : true
4954 tag_name : ${{ steps.extract_tag.outputs.tag }}
5055 prerelease : ${{ steps.extract_tag.outputs.prerelease }}
51- token : ${{ secrets.BOT_PERSONAL_ACCESS_TOKEN }}
56+ token : ${{ secrets.BOT_GITHUB_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ name: release_pub
33on :
44 release :
55 types : [published]
6- workflow_dispatch :
6+
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
710
811jobs :
912 release :
Original file line number Diff line number Diff line change @@ -205,4 +205,4 @@ scripts:
205205
206206 release:pub :
207207 run : melos exec -c 1 --no-published --no-private --order-dependents -- "flutter pub publish -f"
208- description : Publish all packages to pub.dev.
208+ description : Publish all packages to pub.dev.
You can’t perform that action at this time.
0 commit comments