From dea156d58f5656d789bf71fec448fda457ee4512 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Sun, 29 May 2022 19:44:49 +0200 Subject: [PATCH] ci: enable publishing; delete release trigger workflow (#755) --- .github/workflows/release-manual.yml | 4 +- .github/workflows/release-trigger.yml | 57 --------------------------- 2 files changed, 2 insertions(+), 59 deletions(-) delete mode 100644 .github/workflows/release-trigger.yml diff --git a/.github/workflows/release-manual.yml b/.github/workflows/release-manual.yml index 5b7e9f1e6..80b1202a7 100644 --- a/.github/workflows/release-manual.yml +++ b/.github/workflows/release-manual.yml @@ -32,7 +32,7 @@ jobs: refreshToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_REFRESH_TOKEN }} relativePath: packages/dart format: true - dryRunOnly: true + dryRunOnly: false - name: Publish flutter package if: github.event.inputs.package == 'flutter' uses: k-paxian/dart-package-publisher@v1.4 @@ -42,4 +42,4 @@ jobs: relativePath: packages/flutter flutter: true format: true - dryRunOnly: true + dryRunOnly: false diff --git a/.github/workflows/release-trigger.yml b/.github/workflows/release-trigger.yml deleted file mode 100644 index d99574a64..000000000 --- a/.github/workflows/release-trigger.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: release-trigger -on: - release: - types: - - published -jobs: - # dry-run: - # runs-on: ubuntu-latest - # outputs: - # dart_dry_run_success: ${{ steps.try-dart.outputs.success }} - # flutter_dry_run_success: ${{ steps.try-flutter.outputs.success }} - # steps: - # - name: Checkout code - # uses: actions/checkout@v3 - # - name: Dry run dart package - # uses: k-paxian/dart-package-publisher@v1.4 - # id: try-dart - # with: - # accessToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_ACCESS_TOKEN }} - # refreshToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_REFRESH_TOKEN }} - # relativePath: packages/dart - # format: true - # dryRunOnly: true - # - name: Dry run flutter package - # uses: k-paxian/dart-package-publisher@v1.4 - # id: try-flutter - # with: - # accessToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_ACCESS_TOKEN }} - # refreshToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_REFRESH_TOKEN }} - # relativePath: packages/flutter - # flutter: true - # format: true - # dryRunOnly: true - release: - runs-on: ubuntu-latest - # needs: dry-run - # if: needs.dry-run.outputs.dart_dry_run_success && needs.dry-run.outputs.flutter_dry_run_success - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Publish dart package - uses: k-paxian/dart-package-publisher@v1.4 - with: - accessToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_ACCESS_TOKEN }} - refreshToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_REFRESH_TOKEN }} - relativePath: packages/dart - format: true - dryRunOnly: true - - name: Publish flutter package - uses: k-paxian/dart-package-publisher@v1.4 - with: - accessToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_ACCESS_TOKEN }} - refreshToken: ${{ secrets.PUBDEV_GOOGLE_ACCOUNT_REFRESH_TOKEN }} - relativePath: packages/flutter - flutter: true - format: true - dryRunOnly: true