Skip to content

Commit 0823486

Browse files
authored
ci: add automated publishing workflow (#75)
1 parent b562382 commit 0823486

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pub_publish.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: pub_publish
2+
3+
on:
4+
push:
5+
tags:
6+
- "v[0-9]+.[0-9]+.[0-9]+*"
7+
8+
jobs:
9+
publish:
10+
permissions:
11+
id-token: write # This is required for requesting the JWT
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: 📚 Git Checkout
15+
uses: actions/checkout@v4
16+
- name: 🐦 Setup Flutter
17+
uses: subosito/flutter-action@v2
18+
- name: 📦 Install Dependencies
19+
run: flutter pub get
20+
- name: 📢 Publish
21+
run: dart pub publish --force

0 commit comments

Comments
 (0)