chore: increase version #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+*" | |
jobs: | |
publish: | |
permissions: | |
id-token: write | |
runs-on: ubuntu-latest | |
# we'd prefer the reusable workflow, but | |
# but it is broken for flutter packages: https://github.com/dart-lang/setup-dart/issues/68 | |
# uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d | |
- uses: subosito/flutter-action@v2 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Publish - dry run | |
run: dart pub publish --dry-run | |
- name: Publish to pub.dev | |
run: dart pub publish -f |