Skip to content

Commit

Permalink
Merge pull request #355 from oriventi/master
Browse files Browse the repository at this point in the history
feat: Add GitHub Workflow for Publishing to pub.dev
  • Loading branch information
queendevelopers authored Jan 20, 2025
2 parents 55d308c + 0cb2fe4 commit ee52225
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish to pub.dev

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*" # for tags like: 'v1.2.3'

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

0 comments on commit ee52225

Please sign in to comment.