Skip to content

Commit 0ff51ea

Browse files
committed
[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/
1 parent e1eabc6 commit 0ff51ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pre-compile_llvm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
mv llvm_build.tar.gz classic-flang-llvm-project/classic-flang-llvm-project/.
7272
7373
- name: Upload llvm
74-
uses: actions/upload-artifact@v2
74+
uses: actions/upload-artifact@v4
7575
with:
7676
name: llvm_build_${{ matrix.target }}_${{ matrix.cc }}_${{ matrix.version }}_${{ steps.extract_branch.outputs.branch }}
7777
path: llvm_build.tar.gz
@@ -124,7 +124,7 @@ jobs:
124124
Copy-Item llvm_build.7z -Destination $pwd/classic-flang-llvm-project/
125125
126126
- name: Upload llvm
127-
uses: actions/upload-artifact@v3
127+
uses: actions/upload-artifact@v4
128128
with:
129129
name: llvm_build_win_${{ matrix.arch }}_clangcl_${{ steps.extract_branch.outputs.branch }}
130130
path: ${{ github.workspace }}\llvm_build.7z

0 commit comments

Comments
 (0)