Skip to content

Commit

Permalink
ci: add automatic publish to pub on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
louisdachet committed May 13, 2024
1 parent c8559b1 commit 0f1f5e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish-to-pub-on-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Publish to pub.dev on tag
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"

jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 comments on commit 0f1f5e4

Please sign in to comment.