From b9000369f661d6f6615e5b5e5f9899ac7bad7033 Mon Sep 17 00:00:00 2001 From: Nayuta403 <40540394+Nayuta403@users.noreply.github.com> Date: Thu, 31 Mar 2022 10:40:28 +0800 Subject: [PATCH] Add the publish action (#143) --- .github/workflows/publish.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..d617c35e --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +name: Publish + +on: + release: + types: [published] + workflow_dispatch: + +jobs: + publish: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Publish + uses: sakebook/actions-flutter-pub-publisher@v1.3.0 + with: + credential: ${{ secrets.CREDENTIALS }} + flutter_package: true + skip_test: true + dry_run: false