Skip to content

Commit

Permalink
Add a github action to auto publish to pub.dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
bramp committed Jan 29, 2024
1 parent 28087db commit d875a13
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# .github/workflows/publish.yml
name: Publish to pub.dev

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


# 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:
# working-directory: path/to/package/within/repository

0 comments on commit d875a13

Please sign in to comment.