diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2ecaad..9927d79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,15 +20,15 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - name: Download the compiler (llvm-mingw 20261006) + - name: Download the compiler (llvm-mingw) shell: pwsh run: | # pinned version and checksum, so the build always uses exactly this compiler $files = @( - @{ url = 'https://github.com/mstorsjo/llvm-mingw/releases/download/20261006/llvm-mingw-20261006-ucrt-x86_64.zip' - sha = '317492c456aa27ee607a5919f1d2d38dcdc1112516a24d0bf4b00d078f52d17a'; out = 'llvm.zip' } + @{ url = 'https://github.com/mstorsjo/llvm-mingw/releases/download/20261104/llvm-mingw-20261104-ucrt-x86_64.zip' + sha = '552191b5754c49a5a20723276a6fc56541ea1922c4c50b7b669022333fc1b40f'; out = 'llvm.zip' } ) foreach ($f in $files) { Invoke-WebRequest $f.url -OutFile $f.out @@ -36,7 +36,7 @@ jobs: if ($got -ne $f.sha) { throw "$($f.out): checksum $got does not match $($f.sha)" } } Expand-Archive llvm.zip "$env:RUNNER_TEMP\llvm" - Add-Content $env:GITHUB_PATH "$env:RUNNER_TEMP\llvm\llvm-mingw-20261006-ucrt-x86_64\bin" + Add-Content $env:GITHUB_PATH "$env:RUNNER_TEMP\llvm\llvm-mingw-20261104-ucrt-x86_64\bin" - name: Build shell: cmd @@ -49,7 +49,7 @@ jobs: "SHA-256 of dinput8.dll: $h" "### dinput8.dll`nSHA-256: ``$h``" | Out-File $env:GITHUB_STEP_SUMMARY -Append - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: dinput8 path: build/dinput8.dll diff --git a/.github/workflows/nexus.yml b/.github/workflows/nexus.yml index 35b56e8..9175550 100644 --- a/.github/workflows/nexus.yml +++ b/.github/workflows/nexus.yml @@ -19,15 +19,15 @@ jobs: nexus: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - name: Download the compiler (llvm-mingw 20261006) + - name: Download the compiler (llvm-mingw) shell: pwsh run: | # pinned version and checksum, the same as build.yml $files = @( - @{ url = 'https://github.com/mstorsjo/llvm-mingw/releases/download/20261006/llvm-mingw-20261006-ucrt-x86_64.zip' - sha = '317492c456aa27ee607a5919f1d2d38dcdc1112516a24d0bf4b00d078f52d17a'; out = 'llvm.zip' } + @{ url = 'https://github.com/mstorsjo/llvm-mingw/releases/download/20261104/llvm-mingw-20261104-ucrt-x86_64.zip' + sha = '552191b5754c49a5a20723276a6fc56541ea1922c4c50b7b669022333fc1b40f'; out = 'llvm.zip' } ) foreach ($f in $files) { Invoke-WebRequest $f.url -OutFile $f.out @@ -35,7 +35,7 @@ jobs: if ($got -ne $f.sha) { throw "$($f.out): checksum $got does not match $($f.sha)" } } Expand-Archive llvm.zip "$env:RUNNER_TEMP\llvm" - Add-Content $env:GITHUB_PATH "$env:RUNNER_TEMP\llvm\llvm-mingw-20261006-ucrt-x86_64\bin" + Add-Content $env:GITHUB_PATH "$env:RUNNER_TEMP\llvm\llvm-mingw-20261104-ucrt-x86_64\bin" - name: Build shell: cmd