Skip to content

Update version and changelog for release (#89) #1

Update version and changelog for release (#89)

Update version and changelog for release (#89) #1

Workflow file for this run

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/checkout@v2.3.3
- 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/checkout@v2.3.3
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