-
Notifications
You must be signed in to change notification settings - Fork 22
43 lines (34 loc) · 1.19 KB
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: VSCode Extensions CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
package:
name: Package Arm64 VSIX
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn install --immutable
- run: yarn run package:cli:fetch
working-directory: packages/databricks-vscode
env:
CLI_ARCH: darwin_amd64
GH_TOKEN: ${{ github.token }}
- name: Building packages
run: yarn run build
- run: mkdir -p packages/databricks-vscode/artifacts
- name: Build VSIX
run: yarn package -o artifacts -t darwin-arm64
working-directory: packages/databricks-vscode
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: VSIX artifacts
path: packages/databricks-vscode/artifacts