Skip to content

Commit

Permalink
chore: add publish to pub.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Jan 25, 2025
1 parent f03dae0 commit bf698df
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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
with:
environment: pub.dev
working-directory: packages/disco

0 comments on commit bf698df

Please sign in to comment.