From 1fad76bb55302eb6df0020006266690900692bdd Mon Sep 17 00:00:00 2001 From: Caner Karaca <37447503+CanerKaraca23@users.noreply.github.com> Date: Sat, 3 Jan 2026 23:43:43 +0300 Subject: [PATCH 1/3] Update ci.yml --- .github/workflows/ci.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7447b2f..53eee300 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,16 +7,12 @@ jobs: runs-on: windows-latest name: Native Compilation steps: - - uses: actions/checkout@v4 + - name: Checkout Repository + uses: actions/checkout@v6 - name: Check CMake version run: cmake --version - - name: Setup MSVC environment - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: amd64 - - name: Generate CMake project run: cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -B build -G Ninja @@ -35,7 +31,7 @@ jobs: working-directory: build/ - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: RelWithDebInfo-Native-Clang path: | @@ -46,16 +42,18 @@ jobs: runs-on: ubuntu-latest name: Cross-compilation steps: - - uses: actions/checkout@v4 - - - name: Setup CMake and build tools - run: | - sudo apt update - sudo apt install -y cmake ninja-build + - name: Checkout Repository + uses: actions/checkout@v6 - name: Setup Zig uses: mlugg/setup-zig@v2 + - name: Check Packages Versions + run: | + cmake --version + ninja --version + zig version + - name: Generate CMake project run: cmake -DUSE_CROSSCOMPILER=Zig -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -B build -G Ninja @@ -72,7 +70,7 @@ jobs: working-directory: build/ - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: RelWithDebInfo-Cross path: | From 0116b0d84d3567ee50f800b7761b644aec72c0f4 Mon Sep 17 00:00:00 2001 From: Caner Karaca <37447503+CanerKaraca23@users.noreply.github.com> Date: Sat, 3 Jan 2026 23:44:12 +0300 Subject: [PATCH 2/3] Update GitHub Actions to use latest action versions --- .github/workflows/nightly.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0da3e1b4..c3aa0fd1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -17,7 +17,8 @@ jobs: outputs: should_run: ${{ steps.should_run.outputs.should_run }} steps: - - uses: actions/checkout@v4 + - name: Checkout Repository + uses: actions/checkout@v6 - id: should_run name: Check if latest commit date is within the previous 24 hours @@ -37,18 +38,12 @@ jobs: full_sha: ${{ steps.var.outputs.full_sha }} short_sha: ${{ steps.var.outputs.short_sha }} steps: - - uses: actions/checkout@v4 - with: - submodules: recursive + - name: Checkout Repository + uses: actions/checkout@v6 - name: Check CMake version run: cmake --version - - name: Setup MSVC environment - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: amd64 - - name: Generate CMake project run: cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -B build -G Ninja @@ -56,7 +51,7 @@ jobs: run: cmake --build ./build --config RelWithDebInfo --target YimMenuV2 -- - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: binary path: | @@ -75,11 +70,12 @@ jobs: needs: build_nightly if: needs.check_recent_commit.outputs.should_run == 'true' steps: - - uses: actions/checkout@v4 + - name: Checkout Repository + uses: actions/checkout@v6 - name: Delete Existing Release id: delete_release - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const owner = context.repo.owner; @@ -119,7 +115,7 @@ jobs: } - name: Download Artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: binary @@ -131,7 +127,7 @@ jobs: cat sha256.checksum - name: Nightly Release - uses: softprops/action-gh-release@v2.2.2 + uses: softprops/action-gh-release@v2 with: name: Nightly [${{ needs.build_nightly.outputs.short_sha }}] tag_name: nightly @@ -159,4 +155,4 @@ jobs: ${{ needs.build_nightly.outputs.full_sha }} ``` files: | - YimMenuV2.dll \ No newline at end of file + YimMenuV2.dll From f2ffcbd2f97a5279696a0f2e925b08743aa08097 Mon Sep 17 00:00:00 2001 From: Caner Karaca <37447503+CanerKaraca23@users.noreply.github.com> Date: Sat, 3 Jan 2026 23:44:34 +0300 Subject: [PATCH 3/3] Upgrade github-script action from v7 to v8 --- .github/workflows/pr-comment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 7961e511..f598bf2e 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -17,7 +17,7 @@ jobs: # Assume the 0th index in the array of found PRs is the correct one (it seems to usually be the latest one) PR_NUM=$(echo $PR_RAW | jq '.items | map(select(.repository_url=="https://api.github.com/repos/${{ github.repository }}")) | .[0].number') echo "PR_NUM=${PR_NUM}" >> $GITHUB_ENV - - uses: actions/github-script@v7 + - uses: actions/github-script@v8 with: # This snippet is public-domain, taken from # https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml @@ -59,4 +59,4 @@ jobs: } core.info("Review thread message body:", body); - await upsertComment(owner, repo, ${{ env.PR_NUM }}, "nightly-link", body); \ No newline at end of file + await upsertComment(owner, repo, ${{ env.PR_NUM }}, "nightly-link", body);