https://github.com/mohamedsaidsallam/ahk2exe-github-action
Github action to compile AHK v2 script to exe using AHK2Exe.
https://github.com/mohamedsaidsallam/ahk2exe-github-action
actions ahk ahk2exe autohotkey github-actions
Last synced: 9 months ago
JSON representation
Github action to compile AHK v2 script to exe using AHK2Exe.
- Host: GitHub
- URL: https://github.com/mohamedsaidsallam/ahk2exe-github-action
- Owner: MohamedSaidSallam
- License: apache-2.0
- Created: 2025-09-23T14:06:59.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-23T14:29:25.000Z (9 months ago)
- Last Synced: 2025-09-23T16:23:49.574Z (9 months ago)
- Topics: actions, ahk, ahk2exe, autohotkey, github-actions
- Homepage: https://github.com/marketplace/actions/ahk2exe-github-action
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AHK2Exe GitHub Action
> ⚠️ **Note:** Action is for windows runner only since AHK binaries are `.exe`s
Github action to compile [AHK](https://www.autohotkey.com/) v2 script to exe using [AHK2Exe](https://github.com/AutoHotkey/Ahk2Exe).
## Inputs
| Input | Type | Required | Description |
| ------------------- | ------ | -------- | ---------------------------------------- |
| in | String | Yes | Path of ahk script file to compile |
| out | String | No | Path for the output exe |
| icon | String | No | Path for the icon |
| ahk_version_tag | String | No | Github Tag of the AHK release to use |
| ahk2exe_version_tag | String | No | Github Tag of the AHK2Exe release to use |
> ℹ️ **Note:** No compression is used and 64 bit binary is used to minimize antivirus false positives when scanning the exe file.
## Example
```yaml
---
name: Release
on:
push:
tags:
- "*"
jobs:
build_and_release:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Build exe
uses: MohamedSaidSallam/AHK2Exe-GitHub-Action@v1
with:
in: script.ahk
out: script_${{ github.ref_name }}.exe
icon: icon.ico
...
```