Skip to content

Commit

Permalink
added workflow to publish new version
Browse files Browse the repository at this point in the history
  • Loading branch information
necessarylion committed Aug 6, 2023
1 parent 62ff8e9 commit 509da59
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish

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

jobs:
Publish:
permissions:
id-token: write
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1

- run: dart pub get
- run: dart test
- run: dart analyze
- run: dart pub publish --force

0 comments on commit 509da59

Please sign in to comment.