fixed flutter publish #3
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: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest # Specify the runner environment | |
steps: | |
- uses: actions/checkout@v2 # Check out the repository code | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
cache: true | |
- name: Set up Dart | |
uses: dart-lang/setup-dart@v1 # Corrected the path for the Dart setup action | |
- name: Publish to pub.dev | |
run: flutter pub publish |