[shared_storage] package publish (v0.8.1) triggered by @alexrintt #40
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 new plugin version to pub.dev | |
run-name: >- | |
[shared_storage] package publish (${{ github.ref_name }}) triggered by @${{ github.actor }} | |
on: | |
push: | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
# Checkout repository | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' # or: 'beta', 'dev', 'master' (or 'main') | |
- run: flutter --version | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run Dart analyzer | |
run: flutter analyze --fatal-infos | |
- name: Publish to pub dev | |
run: dart pub publish --force |