Skip to content

Update github/super-linter action to v6 - autoclosed #189

Update github/super-linter action to v6 - autoclosed

Update github/super-linter action to v6 - autoclosed #189

Workflow file for this run

name: AutoHotKey CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: engineerd/configurator@v0.0.10
with:
name: "ahk2exe.exe"
url: "https://www.autohotkey.com/download/ahk.zip"
pathInArchive: "Compiler/Ahk2Exe.exe"
- uses: engineerd/configurator@v0.0.10
with:
name: "unicode_x64.bin"
url: "https://www.autohotkey.com/download/ahk.zip"
pathInArchive: "Compiler/Unicode 64-bit.bin"
- uses: engineerd/configurator@v0.0.10
with:
name: "unicode_x86.bin"
url: "https://www.autohotkey.com/download/ahk.zip"
pathInArchive: "Compiler/Unicode 32-bit.bin"
- uses: engineerd/configurator@v0.0.10
with:
name: "ansi_x86.bin"
url: "https://www.autohotkey.com/download/ahk.zip"
pathInArchive: "Compiler/ANSI 32-bit.bin"
- uses: engineerd/configurator@v0.0.10
with:
name: "upx.exe"
url: "https://github.com/upx/upx/releases/download/v3.96/upx-3.96-win64.zip"
pathInArchive: "upx-3.96-win64/upx.exe"
- uses: actions/checkout@v3
- name: Compile script
run: |
$compiled_dir = "D:\a\ahk-scripts\ahk-scripts\bin"
New-Item -ItemType Directory -Path $compiled_dir
Get-ChildItem -Path "scripts/" -Recurse -Filter *.ahk |ForEach-Object {
$compiled_path = "$compiled_dir\$_.Name.exe"
Write-Host "Compiling `"$_.FullName`" into `"$compiled_path`""
& "C:\Users\runneradmin\runneradmin\configurator\bin\ahk2exe.exe" /in $($_.FullName) /out $($compiled_path) /base "C:\Users\runneradmin\runneradmin\configurator\bin\unicode_x64.bin"
}
Write-Host "D:\a\ahk-scripts\ahk-scripts\bin"
TREE "D:\a\ahk-scripts\ahk-scripts\bin" /F
Write-Host "WORK DIRR"
TREE /F
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: bin
path: "D:/a/ahk-scripts/ahk-scripts/bin/"
retention-days: 365
- name: List compiled files
run: TREE "D:\a\ahk-scripts\ahk-scripts\bin" /F
- name: List all files
run: TREE /F