From 53d0e4bcc07fc08078e1e7f4eb46fb0d8fdd50c5 Mon Sep 17 00:00:00 2001 From: Bryan Chan Date: Mon, 14 Oct 2024 23:28:55 -0400 Subject: [PATCH] [workflows] Update CI to use actions/upload-artifact@v4 This fixes a workflow failure caused by the deprecation of older versions of the action: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ --- .github/workflows/pre-compile_llvm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-compile_llvm.yml b/.github/workflows/pre-compile_llvm.yml index 1f8959539378..80c544d4c0a5 100644 --- a/.github/workflows/pre-compile_llvm.yml +++ b/.github/workflows/pre-compile_llvm.yml @@ -71,7 +71,7 @@ jobs: mv llvm_build.tar.gz classic-flang-llvm-project/classic-flang-llvm-project/. - name: Upload llvm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: llvm_build_${{ matrix.target }}_${{ matrix.cc }}_${{ matrix.version }}_${{ steps.extract_branch.outputs.branch }} path: llvm_build.tar.gz @@ -124,7 +124,7 @@ jobs: Copy-Item llvm_build.7z -Destination $pwd/classic-flang-llvm-project/ - name: Upload llvm - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: llvm_build_win_${{ matrix.arch }}_clangcl_${{ steps.extract_branch.outputs.branch }} path: ${{ github.workspace }}\llvm_build.7z