diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c99924ea83..47721c53f14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,7 +57,7 @@ jobs: - name: Upload build archive uses: actions/upload-artifact@v4 with: - name: dists-${{ github.ref }} + name: dists-${{ github.sha }} path: | packages/**/dist repo-scripts/**/dist @@ -74,7 +74,7 @@ jobs: - name: Download build archive uses: actions/download-artifact@v4 with: - name: dists-${{ github.ref }} + name: dists-${{ github.sha }} - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 672160b7f11..590d59d2700 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -47,7 +47,7 @@ jobs: - name: Download build archive uses: actions/download-artifact@v4 with: - name: dists-${{ github.ref }} + name: dists-${{ github.sha }} - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -102,7 +102,7 @@ jobs: - name: Download build archive uses: actions/download-artifact@v4 with: - name: dists-${{ github.ref }} + name: dists-${{ github.sha }} - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -146,7 +146,7 @@ jobs: - name: Download build archive uses: actions/download-artifact@v4 with: - name: dists-${{ github.ref }} + name: dists-${{ github.sha }} - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -194,7 +194,7 @@ jobs: - name: Download build archive uses: actions/download-artifact@v4 with: - name: dists-${{ github.ref }} + name: dists-${{ github.sha }} - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc'