Skip to content

Commit

Permalink
Add workflow for publishing to pub.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Sep 10, 2024
1 parent 9df6927 commit 9a29cbb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
# according to https://dart.dev/tools/pub/automated-publishing#configuring-automated-publishing-from-github-actions-on-pubdev
publish-dart:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: pub.dev
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased
* (internal) Added `CODEOWNERS` file
* (internal) Added Dependabot config
* (internal) Updated GitHub actions workflow to run on schedule
* (internal) Added GitHub actions workflow for publishing to pub.dev

Version 3.3.0
-------------
Expand Down

0 comments on commit 9a29cbb

Please sign in to comment.