Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGong2013 committed Jul 1, 2022
1 parent b6be020 commit 02e3dd0
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Publisher

on:
push:
branches: [ master ]
branches: [master]

workflow_dispatch:

Expand All @@ -19,7 +19,7 @@ jobs:
git_tag_name: ${{ steps.tag_check.outputs.git_tag_name }}
steps:
- uses: actions/checkout@v2 # https://github.com/actions/checkout

- uses: CumulusDS/[email protected]
id: get_package_version
with:
Expand All @@ -41,11 +41,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # https://github.com/actions/checkout
- name: Bump version and push tag
uses: anothrNick/[email protected]

- name: push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_TAG: ${{ needs.check_version.outputs.git_tag_name }}
SOURCE: master

publish_pub:
name: Publish new Pub version
Expand All @@ -56,7 +58,7 @@ jobs:
- name: Publish Dart/Flutter package
uses: sakebook/[email protected]
with:
credential: ${{ secrets.PUB_PUBLISHER_CREDENTIAL_JSON }}
flutter_package: true
skip_test: true
dry_run: false
credential: ${{ secrets.PUB_PUBLISHER_CREDENTIAL_JSON }}
flutter_package: true
skip_test: true
dry_run: false

0 comments on commit 02e3dd0

Please sign in to comment.