diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml deleted file mode 100644 index f1c81ff..0000000 --- a/.github/workflows/checker.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: No Free usage issue checker - -on: - issues: - types: [opened, reopened] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Check issue actor - uses: ./ - with: - repo: $GITHUB_REPOSITORY - user: $GITHUB_ACTOR - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/pub_dry_run.yml b/.github/workflows/pub_dry_run.yml index 7b49e74..320d27d 100644 --- a/.github/workflows/pub_dry_run.yml +++ b/.github/workflows/pub_dry_run.yml @@ -1,17 +1,21 @@ name: Pub Publish dry run -on: [push] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: publish: - runs-on: ubuntu-latest - steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Publish - uses: sakebook/actions-flutter-pub-publisher@v1.3.0 + uses: k-paxian/dart-package-publisher@master with: credential: ${{ secrets.CREDENTIAL_JSON }} flutter_package: true diff --git a/.github/workflows/pub_publish.yml b/.github/workflows/pub_publish.yml index 6dd65b1..afb16bb 100644 --- a/.github/workflows/pub_publish.yml +++ b/.github/workflows/pub_publish.yml @@ -3,19 +3,17 @@ name: Pub Publish plugin on: release: types: [published] + workflow_dispatch: jobs: publish: - runs-on: ubuntu-latest - steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Publish - uses: sakebook/actions-flutter-pub-publisher@v1.3.0 + uses: k-paxian/dart-package-publisher@master with: credential: ${{ secrets.CREDENTIAL_JSON }} flutter_package: true skip_test: true - dry_run: false diff --git a/.github/workflows/pub_publish_manually.yml b/.github/workflows/pub_publish_manually.yml deleted file mode 100644 index 6d60ac8..0000000 --- a/.github/workflows/pub_publish_manually.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Pub Publish plugin - -on: 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.CREDENTIAL_JSON }} - flutter_package: true - skip_test: true - dry_run: false