We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b2b4b commit 9c8547cCopy full SHA for 9c8547c
1 file changed
.github/workflows/ci.yml
@@ -176,7 +176,7 @@ jobs:
176
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
177
178
- name: Publish to marketplace
179
- if: ${{ !inputs.dry_run }}
+ if: ${{ !inputs.dry_run && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') }}
180
run: npm run publish -- --packagePath git-crypt-vscode-*.vsix
181
env:
182
VSCE_PAT: ${{ secrets.VSCE_PAT }}
0 commit comments