Skip to content

Commit 58281d0

Browse files
test: publish-ovsx job - move condition up to see if it helps
Signed-off-by: Marc Dumais <[email protected]>
1 parent 20f8b5a commit 58281d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ jobs:
6464
publish-oxsv:
6565
# https://open-vsx.org/
6666
name: Publish extension to public Open VSX Registry (${{ matrix.os }})
67+
# Only execute when the trigger was a tag (new release)
68+
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'eclipse-cdt-cloud/vscode-trace-server'
6769
runs-on: ${{ matrix.os }}
6870
needs:
6971
- build-test
7072
strategy:
7173
matrix:
7274
os: [ubuntu-latest]
7375
node-version: [20]
74-
# Only execute when the trigger was a tag (new release)
75-
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'eclipse-cdt-cloud/vscode-trace-server'
7676

7777
steps:
7878
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)