Skip to content

Commit a21c25d

Browse files
committed
chore: Update GitHub Actions workflow to create releases
1 parent b3bfc3c commit a21c25d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
8080
# Publish to Visual Studio Marketplace
8181
- name: Publish to Visual Studio Marketplace
82+
if: |
83+
github.ref == 'refs/heads/main' &&
84+
github.repository == 'isontheline/vscode-sysmon'
8285
uses: HaaLeo/publish-vscode-extension@v1
8386
id: publishToMarketplace
8487
with:
@@ -87,6 +90,9 @@ jobs:
8790

8891
# Publish to Open VSX Registry
8992
- name: Publish to Open VSX Registry
93+
if: |
94+
github.ref == 'refs/heads/main' &&
95+
github.repository == 'isontheline/vscode-sysmon'
9096
uses: HaaLeo/publish-vscode-extension@v1
9197
with:
9298
extensionFile: ${{ steps.publishToMarketplace.outputs.vsixPath }}

0 commit comments

Comments
 (0)