diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5c139ad..7448643 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: - 'v[0-9]+.[0-9]+.[0-9]+*' jobs: - test: + publish: runs-on: ubuntu-latest steps: - name: Checkout @@ -36,15 +36,10 @@ jobs: run: flutter analyze --fatal-infos - name: Run tests - run: flutter test --coverage + run: flutter test - name: Check Publish Warnings run: flutter pub publish --dry-run - publish: - needs: 'test' - permissions: - id-token: write # Required for authentication using OIDC - uses: git-elliot/setup-dart/.github/workflows/publish.yml@main # Added build_runner step - with: - environment: 'pub.dev' \ No newline at end of file + - name: Publish to pub.dev + run: dart pub publish -f \ No newline at end of file