Skip to content

Release v0.2.0

Release v0.2.0 #1

Workflow file for this run

name: Publish to pub.dev
on:
release:
types: [published]
jobs:
publish:
name: Publish package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.x'
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Verify package
run: flutter pub publish --dry-run
- name: Publish to pub.dev
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
run: |
mkdir -p ~/.config/dart
echo "$PUB_CREDENTIALS" > ~/.config/dart/pub-credentials.json
flutter pub publish --force