Skip to content

Commit 086e614

Browse files
committed
package PRs
1 parent 3b661de commit 086e614

File tree

4 files changed

+1048
-224
lines changed

4 files changed

+1048
-224
lines changed

.github/workflows/main.yml

+41
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,44 @@ jobs:
2828
if: matrix.os == 'ubuntu-latest'
2929
- run: npm test
3030
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

.github/workflows/release.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)