Skip to content

Commit

Permalink
Only publish a release on a push, not a cron
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Aug 18, 2022
1 parent 381f57f commit c1c1ea2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run examples
run: yarn run test-examples-gotestfmt
- name: Publish Dev Package
- if: github.event_name == 'push'
name: Publish Dev Package
uses: JS-DevTools/npm-publish@v1
with:
access: "public"
Expand Down

0 comments on commit c1c1ea2

Please sign in to comment.