From c1c1ea2c4e42c0f2d70d1745f2c10d4d61aa945a Mon Sep 17 00:00:00 2001 From: stack72 Date: Thu, 18 Aug 2022 16:43:11 +0100 Subject: [PATCH] Only publish a release on a push, not a cron --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e537d17c..8bc94892 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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"