From 040fb1fe15c18cfe267e956bfd743753060e99f5 Mon Sep 17 00:00:00 2001 From: Daniel La Rocque Date: Mon, 4 Nov 2024 11:24:14 -0500 Subject: [PATCH] use github sha --- .github/workflows/build.yml | 4 ++-- .github/workflows/test-all.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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'