From 73765abb0d16b99a60fead6275a53e5abc534ba1 Mon Sep 17 00:00:00 2001 From: Syping Date: Sun, 8 Dec 2024 21:55:03 +0100 Subject: [PATCH] CI: update workflows --- .github/workflows/ubuntu-c.yml | 4 ++-- .github/workflows/ubuntu-cxx.yml | 4 ++-- .github/workflows/webassembly-c.yml | 4 ++-- .github/workflows/webassembly-cxx.yml | 4 ++-- .github/workflows/windows-c.yml | 4 ++-- .github/workflows/windows-cxx.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ubuntu-c.yml b/.github/workflows/ubuntu-c.yml index 103bd5e..e8e3319 100644 --- a/.github/workflows/ubuntu-c.yml +++ b/.github/workflows/ubuntu-c.yml @@ -8,7 +8,7 @@ jobs: env: BUILD_TYPE: Release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - name: Install packages @@ -22,7 +22,7 @@ jobs: - name: Install run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install/usr/local - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ubuntu path: | diff --git a/.github/workflows/ubuntu-cxx.yml b/.github/workflows/ubuntu-cxx.yml index 9ac1c23..788ef66 100644 --- a/.github/workflows/ubuntu-cxx.yml +++ b/.github/workflows/ubuntu-cxx.yml @@ -8,7 +8,7 @@ jobs: env: BUILD_TYPE: Release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - name: Install packages @@ -22,7 +22,7 @@ jobs: - name: Install run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install/usr/local - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ubuntu path: | diff --git a/.github/workflows/webassembly-c.yml b/.github/workflows/webassembly-c.yml index b52d951..265b50d 100644 --- a/.github/workflows/webassembly-c.yml +++ b/.github/workflows/webassembly-c.yml @@ -8,7 +8,7 @@ jobs: env: BUILD_TYPE: Release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - name: Setup emsdk @@ -24,7 +24,7 @@ jobs: - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: WebAssembly path: | diff --git a/.github/workflows/webassembly-cxx.yml b/.github/workflows/webassembly-cxx.yml index 36d5791..46168c0 100644 --- a/.github/workflows/webassembly-cxx.yml +++ b/.github/workflows/webassembly-cxx.yml @@ -8,7 +8,7 @@ jobs: env: BUILD_TYPE: Release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - name: Setup emsdk @@ -24,7 +24,7 @@ jobs: - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: WebAssembly path: | diff --git a/.github/workflows/windows-c.yml b/.github/workflows/windows-c.yml index 0788863..d36d316 100644 --- a/.github/workflows/windows-c.yml +++ b/.github/workflows/windows-c.yml @@ -14,7 +14,7 @@ jobs: - amd64_x86 - amd64_arm64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - uses: ilammy/msvc-dev-cmd@v1 @@ -27,7 +27,7 @@ jobs: - name: Install run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows MSVC ${{matrix.arch}} path: | diff --git a/.github/workflows/windows-cxx.yml b/.github/workflows/windows-cxx.yml index 5ba1beb..9b7a7fb 100644 --- a/.github/workflows/windows-cxx.yml +++ b/.github/workflows/windows-cxx.yml @@ -14,7 +14,7 @@ jobs: - amd64_x86 - amd64_arm64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - uses: ilammy/msvc-dev-cmd@v1 @@ -27,7 +27,7 @@ jobs: - name: Install run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows MSVC ${{matrix.arch}} path: |