Skip to content

Commit

Permalink
feat: add on-release action
Browse files Browse the repository at this point in the history
  • Loading branch information
axross committed Aug 22, 2022
1 parent ead41b7 commit 12b5a86
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/on-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
with:
directory: coverage
release:
needs: [unit-test]
name: Release
runs-on: ubuntu-latest
steps:
- name: release-please-action
- name: Run Release Please
uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: on Release
on:
release:
types:
- published
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Publish a new version of Dart package
uses: k-paxian/dart-package-publisher@1.5
with:
credentialJson: ${{ secrets.PUB_CREDENTIAL_JSON }}
skipTests: true

0 comments on commit 12b5a86

Please sign in to comment.