diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 95747af..5287bef 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -29,11 +29,11 @@ jobs: - name: Publish to pub.dev (dry run) env: - PUB_DEV_TOKEN: ${{ secrets.PUB_DEV_TOKEN }} + PUB_DEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }} run: dart pub publish --dry-run - name: Publish to pub.dev if: github.ref == 'refs/heads/main' && github.event_name == 'push' env: - PUB_DEV_TOKEN: ${{ secrets.PUB_DEV_TOKEN }} + PUB_DEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }} run: dart pub publish --force