From bc0a21a11efcef134e8bcfe954591bc6ead47419 Mon Sep 17 00:00:00 2001 From: CloudWebRTC Date: Sun, 17 Oct 2021 08:17:47 +0800 Subject: [PATCH] Create publish.yml --- .github/workflows/publish.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..4ae46b2 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,21 @@ +name: Publish plugin + +on: + release: + types: [published] + +jobs: + publish: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Publish + uses: sakebook/actions-flutter-pub-publisher@v1.3.1 + with: + credential: ${{ secrets.CREDENTIAL_JSON }} + flutter_package: true + skip_test: true + dry_run: false