File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [main]
88
99jobs :
10- build :
10+ test :
1111 runs-on : ${{ matrix.os }}
1212
1313 strategy :
@@ -55,31 +55,29 @@ jobs:
5555 DATABRICKS_CLUSTER_ID : ${{ secrets.DATABRICKS_CLUSTER_ID }}
5656
5757 package :
58- runs-on : ${{matrix.os}}
59-
60- strategy :
61- matrix :
62- os : [windows-latest, macos-latest]
63- node-version : [14.x]
64-
58+ name : Package VSIX
59+ runs-on : " macos-latest"
6560 steps :
6661 - uses : actions/checkout@v3
6762
68- - name : Use Node.js ${{ matrix.node-version }}
63+ - name : Use Node.js 14.x
6964 uses : actions/setup-node@v3
7065 with :
71- node-version : ${{ matrix.node-version }}
66+ node-version : 14.x
7267 cache : " yarn"
7368
7469 - run : yarn install --immutable
7570
7671 - name : Building packages
7772 run : yarn run build
7873
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
74+ - run : mkdir -p packages/databricks-vscode/artifacts
8275
83- - name : Build VSIX (Windows)
84- if : matrix.os == 'windows-latest'
85- run : yarn workspace databricks vscode:package
76+ - name : Build VSIX
77+ run : yarn workspace databricks vscode:package -o artifacts
78+
79+ - name : Upload artifacts
80+ uses : actions/upload-artifact@v3
81+ with :
82+ name : VSIX artifacts
83+ path : packages/databricks-vscode/artifacts
You can’t perform that action at this time.
0 commit comments