Skip to content

Commit 858a194

Browse files
authored
Create publish.yml
1 parent 0bf92dd commit 858a194

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish to pub.dev
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+*'
7+
8+
jobs:
9+
publish:
10+
environment: 'pub.dev'
11+
permissions:
12+
id-token: write # Required for authentication using OIDC
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: 📚 Git Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
submodules: recursive
19+
- uses: ./.github/actions/publish_flutter_package

0 commit comments

Comments
 (0)