File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 # If your repository contains multiple packages consider a pattern like:
1313 # - 'my_package_name-v[0-9]+.[0-9]+.[0-9]+'
1414
15- # Publish using the reusable workflow from dart-lang.
1615jobs :
1716 publish :
17+ name : Publish to pub.dev
18+ runs-on : ubuntu-latest
1819 permissions :
1920 id-token : write # Required for authentication using OIDC
20- uses : dart-lang/setup-dart/.github/workflows/publish.yml@v1
21- # with:
22- # working-directory: path/to/package/within/repository
21+ steps :
22+ - uses : actions/checkout@v6
23+
24+ - uses : dart-lang/setup-dart@v1
25+ with :
26+ sdk : " 3.11.5"
27+
28+ - name : Install dependencies
29+ run : dart pub get
30+
31+ - name : Publish - dry run
32+ run : dart pub publish --dry-run
33+
34+ - name : Publish to pub.dev
35+ run : dart pub publish -f
Original file line number Diff line number Diff line change 3131
3232 - uses : dart-lang/setup-dart@v1
3333 with :
34- sdk : " 3.11.0 "
34+ sdk : " 3.11.5 "
3535
3636 - name : 📦 Install Dependencies
3737 run : |
Original file line number Diff line number Diff line change @@ -28,19 +28,20 @@ jobs:
2828 - uses : actions/checkout@v6
2929 if : ${{ steps.release.outputs.prs_created }}
3030 with :
31- ref : ${{ fromJSON(steps.release.outputs.pr).headBranchName }}
31+ ref : release-please--branches--main--components--solvro_config
32+ token : ${{ steps.generate-token.outputs.token }}
3233
3334 - uses : dart-lang/setup-dart@v1
3435 if : ${{ steps.release.outputs.prs_created }}
3536 with :
36- sdk : " 3.11.0 "
37+ sdk : " 3.11.5 "
3738
3839 - name : 📦 Install Dependencies
3940 if : ${{ steps.release.outputs.prs_created }}
4041 run : |
4142 dart pub get
4243
43- - name : Run Build and Tests
44+ - name : Run build_runner build
4445 if : ${{ steps.release.outputs.prs_created }}
4546 run : |
4647 dart run build_runner build --delete-conflicting-outputs
5455 commit_prefix : " chore: "
5556 commit_message : " run build_runner build"
5657 force : false
57- target_branch : ${{ fromJSON(steps. release.outputs.pr).headBranchName }}
58+ target_branch : release-please--branches--main--components--solvro_config
You can’t perform that action at this time.
0 commit comments