Skip to content

Commit 040fb1f

Browse files
committed
use github sha
1 parent e87fcee commit 040fb1f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Upload build archive
5858
uses: actions/upload-artifact@v4
5959
with:
60-
name: dists-${{ github.ref }}
60+
name: dists-${{ github.sha }}
6161
path: |
6262
packages/**/dist
6363
repo-scripts/**/dist
@@ -74,7 +74,7 @@ jobs:
7474
- name: Download build archive
7575
uses: actions/download-artifact@v4
7676
with:
77-
name: dists-${{ github.ref }}
77+
name: dists-${{ github.sha }}
7878
- uses: actions/setup-node@v4
7979
with:
8080
node-version-file: '.nvmrc'

.github/workflows/test-all.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Download build archive
4848
uses: actions/download-artifact@v4
4949
with:
50-
name: dists-${{ github.ref }}
50+
name: dists-${{ github.sha }}
5151
- uses: actions/setup-node@v4
5252
with:
5353
node-version-file: '.nvmrc'
@@ -102,7 +102,7 @@ jobs:
102102
- name: Download build archive
103103
uses: actions/download-artifact@v4
104104
with:
105-
name: dists-${{ github.ref }}
105+
name: dists-${{ github.sha }}
106106
- uses: actions/setup-node@v4
107107
with:
108108
node-version-file: '.nvmrc'
@@ -146,7 +146,7 @@ jobs:
146146
- name: Download build archive
147147
uses: actions/download-artifact@v4
148148
with:
149-
name: dists-${{ github.ref }}
149+
name: dists-${{ github.sha }}
150150
- uses: actions/setup-node@v4
151151
with:
152152
node-version-file: '.nvmrc'
@@ -194,7 +194,7 @@ jobs:
194194
- name: Download build archive
195195
uses: actions/download-artifact@v4
196196
with:
197-
name: dists-${{ github.ref }}
197+
name: dists-${{ github.sha }}
198198
- uses: actions/setup-node@v4
199199
with:
200200
node-version-file: '.nvmrc'

0 commit comments

Comments
 (0)