From e57a126530615b2d1ecb4a07d45d082557c61eeb Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 16 Jul 2024 23:49:53 -0500 Subject: [PATCH] Update dart.yml --- .github/workflows/dart.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index e204096..95747af 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -17,9 +17,9 @@ jobs: uses: actions/checkout@v2 - name: Set up Dart - uses: nikosportolos/dart_package@v0.2.1 + uses: dart-lang/setup-dart@v1 with: - sdk: 'stable' + sdk: stable - name: Install dependencies run: dart pub get @@ -29,11 +29,11 @@ jobs: - name: Publish to pub.dev (dry run) env: - PUB_DEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }} + PUB_DEV_TOKEN: ${{ secrets.PUB_DEV_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.PUBDEV_TOKEN }} + PUB_DEV_TOKEN: ${{ secrets.PUB_DEV_TOKEN }} run: dart pub publish --force