Skip to content

Commit

Permalink
Publish only from 'linux'
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
  • Loading branch information
evidolob committed Oct 8, 2020
1 parent e6b6f98 commit 441effb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish
if: ${{ success() && github.event_name == 'push' && github.ref == 'refs/heads/master'}}
if: ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/master'}}
run: yarn publish --tag next --no-git-tag-version --prepatch --preid "$(git rev-parse --short HEAD)"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 441effb

Please sign in to comment.