From 1bfe9c568ef987589d0fbd0536a3fd01f4e3fda6 Mon Sep 17 00:00:00 2001 From: Real-Packet Date: Sat, 14 Sep 2024 18:51:35 -0500 Subject: [PATCH] chore(ci): Update actions/*-artifact to v4 (simple find & replace) Because v3 is being deprecated and uses Node 16 instead of Node 20. v4 is also a drop in replacement so we can just find & replace the usages without any changes to easily upgrade to v4. --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53f7fecfd..ddc3d3a37 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -91,7 +91,7 @@ jobs: dir msvc_sdk - name: upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: c3-windows-${{ matrix.build_type }} path: | @@ -363,7 +363,7 @@ jobs: - name: upload artifacts if: matrix.llvm_version == env.LLVM_RELEASE_VERSION_LINUX - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: c3-linux-${{matrix.build_type}} path: c3-linux-${{matrix.build_type}}.tar.gz @@ -484,7 +484,7 @@ jobs: - name: upload artifacts if: matrix.llvm_version == env.LLVM_RELEASE_VERSION_UBUNTU20 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: c3-ubuntu-20-${{matrix.build_type}} path: c3-ubuntu-20-${{matrix.build_type}}.tar.gz @@ -657,7 +657,7 @@ jobs: - name: upload artifacts if: matrix.llvm_version == env.LLVM_RELEASE_VERSION_MAC - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: c3-macos-${{matrix.build_type}} path: c3-macos-${{matrix.build_type}}.zip @@ -692,7 +692,7 @@ jobs: sha: context.sha }) - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - run: cp -r lib c3-windows-Release - run: cp -r lib c3-windows-Debug - run: cp msvc_build_libraries.py c3-windows-Release