Skip to content

Commit

Permalink
Add publish action (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
f3ath authored Mar 31, 2023
1 parent 65bc8a5 commit 1e2f730
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# .github/workflows/publish.yml
name: Publish to pub.dev

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*' # tag-pattern on pub.dev: 'v'

# Publish using the reusable workflow from dart-lang.
jobs:
publish:
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 comments on commit 1e2f730

Please sign in to comment.