-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6be020
commit 02e3dd0
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ name: Publisher | |
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
|
||
workflow_dispatch: | ||
|
||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 |