diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0c2bec7..9578d60 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,9 +31,15 @@ jobs: - run: flutter pub get - run: flutter test - run: mkdir -p .pub-cache - - run: echo {{ FLUTTER_PUBCACHE }} > ~/.pub-cache/credentials.json - - run: flutter pub publish --force - - uses: EndBug/add-and-commit@v4 + - name: Publish + uses: sakebook/actions-flutter-pub-publisher@v1.3.0 + with: + credential: ${{ secrets.CREDENTIAL_JSON }} + flutter_package: true + skip_test: true + dry_run: false + - name: Add-and-commit + uses: EndBug/add-and-commit@v4 with: author_name: David Bennett author_email: pinkfishfrog@gmail.com