Update version and changelog for release (#89) #1
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 to pub.dev | |
on: | |
push: | |
tags: | |
# Must align with the tag-pattern configured on pub.dev. | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
jobs: | |
pana: | |
timeout-minutes: 9 | |
runs-on: ubuntu-latest | |
name: Configuration of ${{ matrix.package }} | |
strategy: | |
matrix: | |
package: | |
- 'flutter_math_fork' | |
fail-fast: false | |
steps: | |
- uses: actions/[email protected] | |
- uses: axel-op/dart-package-analyzer@v3 | |
with: | |
relativePath: ${{ matrix.package }} | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
publish: | |
needs: pana | |
timeout-minutes: 4 | |
runs-on: ubuntu-latest | |
name: Publishing of ${{ matrix.package }} | |
permissions: | |
id-token: write # Allows to publish to pub.dev without personal credentials | |
strategy: | |
matrix: | |
package: | |
- 'flutter_math_fork' | |
fail-fast: false | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 2 | |
- uses: dart-lang/setup-dart@v1 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter pub get | |
- run: flutter pub publish --dry-run | |
- run: flutter pub publish --force |