From e965155651ee7672ef5e8f103dab4f779c484db3 Mon Sep 17 00:00:00 2001 From: The Tumultuous Unicorn Of Darkness Date: Sun, 28 Apr 2024 12:48:24 +0200 Subject: [PATCH] CI: update actions to Node20 All actions using Node16 are deprecated: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20 --- .github/workflows/release.yml | 8 ++++---- .github/workflows/unix.yml | 4 ++-- .github/workflows/windows.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41c9cbb..2d007a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get Git tag run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV @@ -24,7 +24,7 @@ jobs: make dist - name: Download macOS artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: unix.yml @@ -33,7 +33,7 @@ jobs: path: macos - name: Download Windows (32-bit) artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: windows.yml @@ -42,7 +42,7 @@ jobs: path: win32 - name: Download Windows (64-bit) artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: windows.yml diff --git a/.github/workflows/unix.yml b/.github/workflows/unix.yml index e021a79..4e97a9f 100644 --- a/.github/workflows/unix.yml +++ b/.github/workflows/unix.yml @@ -21,7 +21,7 @@ jobs: OS_NAME: ${{ matrix.os.name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Generate build system run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DLIBCPUID_TESTS:BOOL=ON @@ -43,7 +43,7 @@ jobs: DESTDIR: ${{ github.workspace }}/installdir - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os.name }} path: installdir/* diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9131c99..fbc717d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,10 +25,10 @@ jobs: PTS: v142 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.1 + uses: microsoft/setup-msbuild@v2 - name: Build with MSBuild run: | @@ -60,7 +60,7 @@ jobs: DESTDIR: ${{ github.workspace }}/installdir - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.platform.name }} path: installdir/*