Skip to content

Commit

Permalink
Merge pull request #211 from osociety/dev
Browse files Browse the repository at this point in the history
Dev -> Main
  • Loading branch information
git-elliot authored Nov 17, 2024
2 parents 526e137 + efe33c5 commit 904799d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .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 @@ -50,15 +50,19 @@ jobs:
- name: Check Publish Warnings
run: dart pub publish --dry-run

- name: Publish Package
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: 'pub.dev'

- name: Upload Coverage to CodeCov
uses: codecov/codecov-action@v3
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 904799d

Please sign in to comment.