From 72c4e80fd1fc0dfc6f9ec56a96467689de3de326 Mon Sep 17 00:00:00 2001 From: Peter Bryant Date: Wed, 27 Oct 2021 09:12:29 +0100 Subject: [PATCH] Add publish workflow --- .github/workflows/publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 0000000..93598c4 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +name: Publish package to pub.dev + +on: + release: + types: [published] + +jobs: + publish: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Publish + uses: sakebook/actions-flutter-pub-publisher@v1.3.1 + with: + credential: ${{ secrets.CREDENTIALS_JSON }} + skip_test: true + flutter_package: false