From 2cc6f068eb89033ea784b8f8182c6215a0192613 Mon Sep 17 00:00:00 2001 From: Severin Leonhardt Date: Sat, 29 Aug 2026 00:32:10 +0200 Subject: [PATCH] Update GitHub actions Use newer versions of the GitHub actions to address the warning that Node.js 20 is deprecated. --- .github/workflows/cmake.yml | 8 ++++---- .github/workflows/release.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5046cbb..0549ad4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run clang-format - uses: jidicula/clang-format-action@v4.13.0 + uses: jidicula/clang-format-action@v4.18.0 with: clang-format-version: '17' check-path: 'Source' @@ -23,7 +23,7 @@ jobs: runs-on: windows-2025-vs2026 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: 'true' @@ -34,13 +34,13 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Archive executable - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: MStarPlayer path: ${{github.workspace}}/build/MStarPlayer_artefacts/${{env.BUILD_TYPE}}/MStarPlayer.exe - name: Archive PDB - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: PDB path: ${{github.workspace}}/build/MStarPlayer_artefacts/${{env.BUILD_TYPE}}/MStarPlayer.pdb diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05e5ec4..66ae177 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: submodules: 'true' @@ -25,13 +25,13 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Archive executable - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: MStarPlayer path: ${{github.workspace}}/build/MStarPlayer_artefacts/${{env.BUILD_TYPE}}/MStarPlayer.exe - name: Archive PDB - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: PDB path: ${{github.workspace}}/build/MStarPlayer_artefacts/${{env.BUILD_TYPE}}/MStarPlayer.pdb @@ -42,9 +42,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: merge-multiple: true @@ -56,7 +56,7 @@ jobs: add_emojis: false - name: Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: body: ${{ steps.changelog.outputs.markdown }} files: |