Skip to content

Update v0.2.12

Update v0.2.12 #28

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+[0-9]'
jobs:
publish:
permissions:
id-token: write
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: "3.10.1"
- name: Set up Dart
uses: dart-lang/setup-dart@v1
- name: Get dependencies
run: flutter pub get
- name: Publish to pub.dev dry run
run: dart pub publish --dry-run
- name: Publish to pub.dev
run: dart pub publish -f
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v1
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: ${{ github.ref_name }}
body: ${{ steps.extract-release-notes.outputs.release_notes }}
draft: false
prerelease: false