An open API service indexing awesome lists of open source software.

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.

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
...
```