Skip to content

Commit

Permalink
Enable automated publishing (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfj authored Jan 10, 2024
1 parent ac3d87a commit 6aa9725
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish to pub.dev

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
name: Publish to pub.dev
runs-on: ubuntu-latest
environment: pub.dev
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- name: Publish
run: flutter pub publish --force

0 comments on commit 6aa9725

Please sign in to comment.