Skip to content

Commit

Permalink
Merge pull request #14 from DroidsOnRoids/publishing-automation
Browse files Browse the repository at this point in the history
Configure automated package publishing
  • Loading branch information
michalowskim authored Jul 8, 2024
2 parents e023e44 + 155582a commit 423dd8a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Publish to pub.dev

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

# Publish using the reusable workflow from dart-lang.
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 423dd8a

Please sign in to comment.