3.8.0 #23
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: Flutter release | |
on: | |
# Triggered when a new release is tagged in GitHub. | |
release: | |
types: [ published ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# token from https://dart.dev/tools/pub/automated-publishing | |
jobs: | |
publishing: | |
permissions: | |
id-token: write # Required for authentication using OIDC | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
#- uses: dart-lang/setup-dart@v1 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.0.5' | |
- run: flutter pub get | |
- run: flutter build | |
# Here you can insert custom steps you need | |
# - run: dart tool/generate-code.dart | |
- run: dart pub publish --force |