Skip to content

Commit 841ca17

Browse files
committed
CI - package only on Linux
1 parent a2eb701 commit 841ca17

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3232
- name: Set an output
3333
id: set-version
34-
if: runner.os == 'Windows'
34+
if: runner.os == 'Linux'
3535
shell: bash
3636
run: |
3737
set -x
@@ -62,10 +62,11 @@ jobs:
6262
with:
6363
run: npm run test
6464
- name: Build package
65+
if: runner.os == 'Linux'
6566
run: |
6667
npx vsce package -o ${{ steps.set-version.outputs.name }}.vsix
6768
- uses: actions/upload-artifact@v2
68-
if: (runner.os == 'Windows') && (github.event_name != 'release')
69+
if: (runner.os == 'Linux') && (github.event_name != 'release')
6970
with:
7071
name: ${{ steps.set-version.outputs.name }}.vsix
7172
path: ${{ steps.set-version.outputs.name }}.vsix

0 commit comments

Comments
 (0)