From aa9f80725696ea73860a0d500b18c6081c08d312 Mon Sep 17 00:00:00 2001 From: wasabeef Date: Wed, 9 Sep 2020 15:58:54 +0900 Subject: [PATCH] add pub.dev aut-release --- .github/workflows/release.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5e928dea0..6c858770d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: jobs: build: - name: Publishing for ${{ matrix.os }} + name: Build for ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -59,4 +59,22 @@ jobs: bin/${{ matrix.target }}/fluttergen-${{ matrix.artifact_prefix }}.tar.gz bin/${{ matrix.target }}/fluttergen-${{ matrix.artifact_prefix }}.sha256 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + + publish: + name: Publishing + runs-on: macos-latest + + steps: + - name: Checking out sources + uses: actions/checkout@v2 + + - name: Publish to pub.dev + uses: sakebook/actions-flutter-pub-publisher@v1.3.1 + with: + credential: ${{ secrets.CREDENTIAL_JSON }} + flutter_package: false + skip_test: true + dry_run: true +