diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 979b304..34b9528 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,14 +6,23 @@ on: - '[0-9]+.[0-9]+.[0-9]+*' jobs: - publish: + build: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - name: Install Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.24.3' + - name: Install dependencies + run: flutter pub get + - name: Analyze + run: flutter analyze + - name: Check Publish Warnings + run: dart pub publish --dry-run - name: Publish - uses: sakebook/actions-flutter-pub-publisher@v1.4.1 + uses: k-paxian/dart-package-publisher@v1.5.1 with: - credential: ${{ secrets.PUB_CREDENTIALS }} - skip_test: true - dry_run: true \ No newline at end of file + credentialJson: ${{ secrets.PUB_CREDENTIALS }} + flutter: true + skipTests: true \ No newline at end of file