Skip to content

Commit

Permalink
Added a workflow to publish to pub.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay committed Sep 29, 2023
1 parent f692056 commit 131872f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish-on-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Publish to pub.dev
'on':
push:
branches:
- master
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly

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 131872f

Please sign in to comment.