File tree 4 files changed +1048
-224
lines changed
4 files changed +1048
-224
lines changed Original file line number Diff line number Diff line change 28
28
if : matrix.os == 'ubuntu-latest'
29
29
- run : npm test
30
30
if : matrix.os != 'ubuntu-latest'
31
+
32
+ release :
33
+ needs : build
34
+ if : ${{ github.ref == 'refs/heads/master' }}
35
+ runs-on : ubuntu-latest
36
+ steps :
37
+ - uses : actions/checkout@v2
38
+ - name : Install Node.js
39
+ uses : actions/setup-node@v1
40
+ with :
41
+ node-version : 12.x
42
+ - run : npm install
43
+ - name : Publish
44
+ uses : lannonbr/vsce-action@master
45
+ with :
46
+ args : " publish -p $VSCE_TOKEN"
47
+ env :
48
+ VSCE_TOKEN : ${{ secrets.VSCE_PAT }}
49
+
50
+ package :
51
+ needs : build
52
+ if : ${{ github.ref != 'refs/heads/master' }}
53
+ runs-on : ubuntu-latest
54
+ steps :
55
+ - uses : actions/checkout@v2
56
+ - name : Install Node.js
57
+ uses : actions/setup-node@v1
58
+ with :
59
+ node-version : 12.x
60
+ - run : npm install
61
+ - name : Package
62
+ uses : lannonbr/vsce-action@master
63
+ with :
64
+ args : " package"
65
+ env :
66
+ VSCE_TOKEN : ${{ secrets.VSCE_PAT }}
67
+ - name : Upload
68
+ uses : actions/upload-artifact@v3
69
+ with :
70
+ name : vscode-package
71
+ path : parquet-viewer-*.vsix
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments