Skip to content

Commit

Permalink
[workflows] Update CI to use actions/upload-artifact@v4
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
bryanpkc committed Oct 15, 2024
1 parent a760735 commit 8f4b6b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-compile_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 8f4b6b4

Please sign in to comment.