From e1248fac35c001ab040adb42f7137408b1d7ec1c Mon Sep 17 00:00:00 2001 From: Matias Dahlin Holst Date: Thu, 31 Oct 2024 14:00:45 +0100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) 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