From 90df5c3829e8963f6a712296f31f26ddb10f8444 Mon Sep 17 00:00:00 2001 From: BoySanic Date: Mon, 22 Jun 2026 14:49:55 -0700 Subject: [PATCH 1/2] chore: update actions --- .github/workflows/build.yml | 8 ++++---- .github/workflows/checks.yml | 2 +- .github/workflows/release.yml | 14 +++++++------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a68310e..95527c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,11 +20,11 @@ jobs: run: | apt-get update apt-get install -y build-essential g++-11 - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Build (Linux, LARGE_BIOMES=${{ matrix.biomes }}) run: | make LARGE_BIOMES=${{ matrix.biomes }} ARCH=sm_89 CC=gcc-11 CXX=g++-11 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: ${{ github.event.repository.name }}.${{ github.run_id }}.linux_x86.biomes${{ matrix.biomes }} path: ./main @@ -36,7 +36,7 @@ jobs: matrix: biomes: [0, 1] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ilammy/msvc-dev-cmd@v1 - name: Install MSYS2 + Make uses: msys2/setup-msys2@v2 @@ -80,7 +80,7 @@ jobs: shell: msys2 {0} run: | make LARGE_BIOMES=${{ matrix.biomes }} ARCH=sm_89 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: ${{ github.event.repository.name }}.${{ github.run_id }}.windows_x86.biomes${{ matrix.biomes }} path: ./main.exe diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index cae09d5..27828ba 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout repository contents - uses: actions/checkout@v1 + uses: actions/checkout@v7 - name: Use action to check for CRLF endings uses: erclu/check-crlf@master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7cc9bfb..bd8b0cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,11 +26,11 @@ jobs: run: | apt-get update apt-get install -y build-essential g++-11 - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Build (Linux, LARGE_BIOMES=${{ matrix.biomes }}) run: | make LARGE_BIOMES=${{ matrix.biomes }} ARCH=all CC=gcc-11 CXX=g++-11 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: ${{ github.event.repository.name }}.${{ github.run_id }}.linux_x86.${{ matrix.biome_name }} path: ./main @@ -47,7 +47,7 @@ jobs: - biomes: 1 biome_name: "large_biomes" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ilammy/msvc-dev-cmd@v1 - name: Install MSYS2 + Make uses: msys2/setup-msys2@v2 @@ -91,7 +91,7 @@ jobs: shell: msys2 {0} run: | make LARGE_BIOMES=${{ matrix.biomes }} ARCH=all - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: ${{ github.event.repository.name }}.${{ github.run_id }}.windows_x86.${{matrix.biome_name}} path: ./main.exe @@ -100,14 +100,14 @@ jobs: runs-on: ubuntu-latest needs: [windows_cuda, linux_cuda] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Download all artifacts from previous jobs - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: release-artifacts merge-multiple: true - name: Create GitHub Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: files: release-artifacts/* generate_release_notes: true From 56737fb3ada57b65c49ca8434d5b52d4c049319e Mon Sep 17 00:00:00 2001 From: BoySanic Date: Mon, 22 Jun 2026 14:57:04 -0700 Subject: [PATCH 2/2] fix: add token for release workflow --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd8b0cb..f60e86d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -109,6 +109,7 @@ jobs: - name: Create GitHub Release uses: softprops/action-gh-release@v3 with: + token: ${{secrets.RELEASE_TOKEN}} files: release-artifacts/* generate_release_notes: true