Skip to content

Commit 66a7756

Browse files
committed
Fix invalid action versions across all workflows
- checkout@v6 → @v4 in all five workflows (v6 does not exist) - setup-node@v6 → @v4 in copilot-setup-steps.yml - action-gh-release@v3 → @v2 in build.yml and build-cached.yml (v3 does not exist) - upload-sarif@v4 → @V3 in powershell.yml (v4 does not exist) - Fix build-cached.yml Ahk2Exe validation: AutoHotkeySC.bin is the old archive layout; Ahk2Exe1.1.37 ships "Unicode 32-bit.bin" and "Unicode 64-bit.bin", matching what build.yml already checks for https://claude.ai/code/session_012ja1eZFgtZdaxBVw1AusL6
1 parent e286be0 commit 66a7756

5 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/ahk-lint-format-compile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
lint:
1717
runs-on: windows-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@v4
2020

2121
- name: Install AutoHotkey v1.1 (Portable)
2222
run: choco install autohotkey.portable --version=1.1.36.01 -y

.github/workflows/build-cached.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build-release:
1717
runs-on: windows-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@v4
2020

2121
- name: Cache AutoHotkey and Ahk2Exe
2222
uses: actions/cache@v5
@@ -44,7 +44,8 @@ jobs:
4444
Expand-Archive "$env:TEMP\Ahk2Exe.zip" -DestinationPath "C:\AutoHotkey-Portable\Compiler" -Force
4545
$requiredFiles = @(
4646
"C:\AutoHotkey-Portable\Compiler\Ahk2Exe.exe",
47-
"C:\AutoHotkey-Portable\Compiler\AutoHotkeySC.bin"
47+
"C:\AutoHotkey-Portable\Compiler\Unicode 32-bit.bin",
48+
"C:\AutoHotkey-Portable\Compiler\Unicode 64-bit.bin"
4849
)
4950
$missingFiles = $requiredFiles | Where-Object { -not (Test-Path $_) }
5051
if ($missingFiles) {
@@ -88,7 +89,7 @@ jobs:
8889
shell: pwsh
8990

9091
- name: Create Release
91-
uses: softprops/action-gh-release@v3
92+
uses: softprops/action-gh-release@v2
9293
with:
9394
files: release/*.exe
9495
fail_on_unmatched_files: true

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build-release:
1717
runs-on: windows-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@v4
2020

2121
- name: Install Scoop
2222
shell: pwsh
@@ -89,7 +89,7 @@ jobs:
8989
shell: pwsh
9090

9191
- name: Create Release
92-
uses: softprops/action-gh-release@v3
92+
uses: softprops/action-gh-release@v2
9393
with:
9494
files: release/*.exe
9595
fail_on_unmatched_files: true

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
copilot-setup-steps:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@v4
2020

21-
- uses: actions/setup-node@v6
21+
- uses: actions/setup-node@v4
2222
with:
2323
node-version: "24"
2424

.github/workflows/powershell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: PSScriptAnalyzer
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@v4
3333

3434
- name: Run PSScriptAnalyzer
3535
uses: microsoft/psscriptanalyzer-action@7a0da25f33985767f15f93140306528900744195
@@ -44,6 +44,6 @@ jobs:
4444

4545
# Upload the SARIF file generated in the previous step
4646
- name: Upload SARIF results file
47-
uses: github/codeql-action/upload-sarif@v4
47+
uses: github/codeql-action/upload-sarif@v3
4848
with:
4949
sarif_file: results.sarif

0 commit comments

Comments
 (0)