Skip to content

Commit 185eeb1

Browse files
[Issue #5] Add command to package extension as VSIX (#22)
* vsix in ci * build packages
1 parent 70dfe53 commit 185eeb1

File tree

3 files changed

+7376
-1
lines changed

3 files changed

+7376
-1
lines changed

.github/workflows/push.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,33 @@ jobs:
5353
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
5454
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
5555
DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }}
56+
57+
package:
58+
runs-on: ${{matrix.os}}
59+
60+
strategy:
61+
matrix:
62+
os: [windows-latest, macos-latest]
63+
node-version: [14.x]
64+
65+
steps:
66+
- uses: actions/checkout@v3
67+
68+
- name: Use Node.js ${{ matrix.node-version }}
69+
uses: actions/setup-node@v3
70+
with:
71+
node-version: ${{ matrix.node-version }}
72+
cache: "yarn"
73+
74+
- run: yarn install --immutable
75+
76+
- name: Building packages
77+
run: yarn run build
78+
79+
- name: Build VSIX (OSX)
80+
if: matrix.os == 'macos-latest'
81+
run: yarn workspace databricks vscode:package -t darwin-x64 && yarn workspace databricks vscode:package -t darwin-arm64
82+
83+
- name: Build VSIX (Windows)
84+
if: matrix.os == 'windows-latest'
85+
run: yarn workspace databricks vscode:package

0 commit comments

Comments
 (0)