set version to 6.1.1 #200
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: build | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
publish: | |
environment: ${{ inputs.environment }} | |
permissions: | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: 'Setup Dart' | |
uses: dart-lang/setup-dart@v1.6.0 | |
- name: 'Setup Flutter' | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.13.9' | |
channel: 'stable' | |
- name: 'Get Packages' | |
run: flutter pub get | |
- name: 'Dry Run Publishing' | |
run: flutter packages pub publish --dry-run | |
- name: 'Publish Artifact' | |
run: flutter packages pub publish --force |