chore(release): Release 0.19.5 #20
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 | |
# Publish is triggered on new version tag push event | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' # for tags like: 'v1.2.3' | |
env: | |
FLUTTER_VERSION: "3.16.7" | |
jobs: | |
publish: | |
name: Publish to pub.dev | |
permissions: | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install the project | |
uses: dronetag/gha-shared/.github/actions/flutter-install@master | |
with: | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
setup-java: false | |
enforce-lockfile: false | |
# Sensitive step, check action script before each upgrade of flutter-actions/setup-pubdev-credentials | |
- uses: flutter-actions/setup-pubdev-credentials@2ffa6245d17992c9f0acf9dc2be626e3b0b888c1 | |
- name: Publish to pub.dev | |
run: flutter pub publish -f |