fix: trigger for publish workflow (#10) #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: Publish plugin | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' # tag pattern on pub.dev: 'v{{version}' | |
jobs: | |
publish: | |
permissions: | |
id-token: write # Required for authentication using OIDC | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: flutter-actions/setup-flutter@v3 | |
- uses: flutter-actions/setup-pubdev-credentials@v1 | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Publish | |
run: flutter pub publish --force |