Skip to content

Commit

Permalink
chore: release only in snolab
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Mar 2, 2022
1 parent 8f56b1e commit ff85432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/choco-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
name: chocolatey publish
jobs:
chocolatey-push:
if: github.repository == 'snolab/CapsLockX'
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: npm-publish
on:
push:
tags:
- "v*"
name: npm-publish
jobs:
npm-publish:
if: github.repository == 'snolab/CapsLockX'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit ff85432

Please sign in to comment.