Skip to content

Commit d2b18f5

Browse files
committed
Upload vsix only in ubuntu
1 parent 1453b4e commit d2b18f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Node.js
2424
uses: actions/setup-node@v1
2525
with:
26-
node-version: 10.x
26+
node-version: 12
2727
- name: Ensure there is a supported ghc versions
2828
uses: haskell/actions/setup@v1
2929
with:
@@ -41,8 +41,10 @@ jobs:
4141
name: extension-${{ matrix.os }}.log
4242
path: test-workspace/hls.log
4343
- name: Package tested extension
44+
if: runner.os == 'Linux'
4445
run: vsce package
4546
- name: Upload extension vsix to workflow artifacts
47+
if: runner.os == 'Linux'
4648
uses: actions/upload-artifact@v2
4749
with:
4850
name: haskell-${{ github.sha }}.vsix

0 commit comments

Comments
 (0)