Skip to content

Commit

Permalink
add publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Nov 17, 2024
1 parent 582e867 commit 085c9be
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

jobs:
publish:
test:
runs-on: ubuntu-latest
permissions:
id-token: write # Required for authentication using OIDC
Expand Down Expand Up @@ -61,4 +61,13 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
file: coverage/coverage.lcov

publish:
runs-on: ubuntu-latest
needs: 'test'
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: 'pub.dev'

0 comments on commit 085c9be

Please sign in to comment.