From fb5d25ff2276c40a640c6e83ce521379687ce656 Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Thu, 23 Jan 2025 09:45:22 -0800 Subject: [PATCH] fix: to release process, update upload artifact (#1092) --- .github/workflows/main.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62f05a212d..6401afc0a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -138,19 +138,19 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Download Engine - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-release - name: Download Engine - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-debug - name: Download Engine - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-weval - name: Download Engine Weval Cache - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-weval-ic-cache - run: npm install @@ -176,7 +176,7 @@ jobs: key: crate-cache-wasm-tools-${{ env.wasm-tools_version }} - name: Build with full debug info run: npm run build:debug:info - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: fastly-debug @@ -209,12 +209,12 @@ jobs: - name: Build if: matrix.profile == 'weval' run: npm run build:weval - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: if-no-files-found: error name: fastly-${{ matrix.profile }} path: fastly${{ matrix.profile == 'debug' && '.debug.wasm' || (matrix.profile == 'weval' && '-weval.wasm' || '.wasm') }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: matrix.profile == 'weval' with: name: fastly-${{ matrix.profile }}-ic-cache @@ -234,7 +234,7 @@ jobs: node-version: 'lts/*' - name: Download Engine - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-debug @@ -282,13 +282,13 @@ jobs: node-version: 'lts/*' - name: Download Engine - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-${{ matrix.profile }} - name: Download Engine Weval Cache if: matrix.profile == 'weval' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-weval-ic-cache @@ -362,11 +362,11 @@ jobs: key: crate-cache-wasm-tools-${{ env.wasm-tools_version }} - name: Download Engine - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-${{ matrix.profile }} - name: Download Engine (AOT weval cache) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: matrix.profile == 'weval' with: name: fastly-${{ matrix.profile }}-ic-cache @@ -426,7 +426,7 @@ jobs: key: crate-cache-wasm-tools-${{ env.wasm-tools_version }} - name: Download Engine - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: fastly-debug