-
Notifications
You must be signed in to change notification settings - Fork 36
46 lines (36 loc) · 1.15 KB
/
create-build-artifacts.yml
File metadata and controls
46 lines (36 loc) · 1.15 KB
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
44
45
46
name: Create Build Artefacts
on:
workflow_call:
jobs:
create-build-artifacts:
runs-on:
group: databricks-protected-runner-group
labels: linux-ubuntu-latest
permissions:
id-token: write
contents: read
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Obtain JFrog OIDC token
run: bash .github/scripts/jfrog-oidc-token.sh
- name: Configure JFrog npm registry
run: bash .github/scripts/configure-npm.sh
- name: Use Node.js 22
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
cache: "yarn"
- run: yarn install --immutable
- run: yarn run build
- run: yarn run package:all
working-directory: packages/databricks-vscode
env:
GH_TOKEN: ${{ github.token }}
BUILD_PLATFORM_ARCH: linux_amd64
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: databricks
path: "packages/databricks-vscode/*.vsix"