Skip to content

Commit 3e93225

Browse files
committed
chore: fix build scripts inaccessible
1 parent b853b41 commit 3e93225

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
restore-keys: |
4747
${{ runner.os }}-google-cloud-sdk-
4848
49+
- name: Upload Build Scripts
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: build-scripts
53+
path: scripts/build/
54+
retention-days: 1
55+
4956
- name: Discover submodules
5057
id: discover-submodules
5158
run: |
@@ -115,6 +122,12 @@ jobs:
115122
gcloud auth activate-service-account --key-file=gcloud-key.json
116123
gcloud config set project steam-brew
117124
125+
- name: Download Build Scripts
126+
uses: actions/download-artifact@v4
127+
with:
128+
name: build-scripts
129+
path: scripts/build/
130+
118131
- name: Install pnpm
119132
run: npm install -g pnpm
120133

.github/workflows/pr.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ jobs:
2525
persist-credentials: false
2626
fetch-depth: 0
2727

28-
- name: Set up Node.js
29-
uses: actions/setup-node@v2
28+
- name: Upload Build Scripts
29+
uses: actions/upload-artifact@v4
3030
with:
31-
node-version: '20'
32-
33-
- name: Install pnpm
34-
run: npm install -g pnpm
31+
name: build-scripts
32+
path: scripts/build/
33+
retention-days: 1
3534

3635
- name: Discover submodules
3736
id: discover-submodules
@@ -76,6 +75,12 @@ jobs:
7675
fetch-depth: 0
7776
submodules: recursive
7877

78+
- name: Download Build Scripts
79+
uses: actions/download-artifact@v4
80+
with:
81+
name: build-scripts
82+
path: scripts/build/
83+
7984
- name: Set up Node.js
8085
uses: actions/setup-node@v2
8186
with:

0 commit comments

Comments
 (0)