{"id":22922463,"url":"https://github.com/kamaranl/ahk2exe-action","last_synced_at":"2025-04-01T14:34:41.527Z","repository":{"id":247971049,"uuid":"827008467","full_name":"KamaranL/Ahk2Exe-action","owner":"KamaranL","description":"Compile your AutoHotkey (.ahk) scripts into standalone executables (Windows runners ONLY)","archived":false,"fork":false,"pushed_at":"2024-07-11T15:06:34.000Z","size":7,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T09:14:43.348Z","etag":null,"topics":["cicd","compiler","continuous-delivery","continuous-deployment","continuous-integration","tool","workflow"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KamaranL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-10T20:42:44.000Z","updated_at":"2024-08-14T00:28:03.000Z","dependencies_parsed_at":"2024-07-11T17:11:07.610Z","dependency_job_id":null,"html_url":"https://github.com/KamaranL/Ahk2Exe-action","commit_stats":null,"previous_names":["kamaranl/ahk2exe-action"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KamaranL%2FAhk2Exe-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KamaranL%2FAhk2Exe-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KamaranL%2FAhk2Exe-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KamaranL%2FAhk2Exe-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KamaranL","download_url":"https://codeload.github.com/KamaranL/Ahk2Exe-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246655805,"owners_count":20812696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cicd","compiler","continuous-delivery","continuous-deployment","continuous-integration","tool","workflow"],"created_at":"2024-12-14T08:10:50.397Z","updated_at":"2025-04-01T14:34:41.497Z","avatar_url":"https://github.com/KamaranL.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ahk2Exe Action\r\n\r\n\u003e Compile your \".ahk\" script into a standalone \".exe\" using AutoHotkey's latest Ahk2Exe\r\n\r\n[![View License on GitHub](https://badgen.net/github/license/KamaranL/Ahk2Exe-action?cache=3600)](./LICENSE.txt)\r\n[![View Latest Release on GitHub](https://badgen.net/github/release/KamaranL/Ahk2Exe-action/stable?icon=github\u0026label=latest\u0026cache=3600)](https://github.com/KamaranL/Ahk2Exe-action)\r\n\r\n- [Ahk2Exe Action](#ahk2exe-action)\r\n  - [Usage](#usage)\r\n    - [Outputs](#outputs)\r\n      - [Examples](#examples)\r\n  - [Acknowledgements](#acknowledgements)\r\n\r\nUse this action in order to compile your AutoHotkey (.ahk) scripts into standalone executables.\r\n\r\n\\*\\***This action will \u003cu\u003eonly run on Windows\u003c/u\u003e runners, it will fail fast otherwise.**\r\n\r\nRefer to [AutoHotkey's documentation](https://www.autohotkey.com/docs/v1/Scripts.htm#ahk2exe) for more on AutoHotkey's Ahk2Exe and how it works.\r\n\r\n## Usage\r\n\r\n```yml\r\non: push\r\njobs:\r\n  build:\r\n    runs-on: windows-latest\r\n    steps:\r\n      - uses: actions/checkout@v4\r\n\r\n      - uses: KamaranL/Ahk2Exe-action@v1\r\n        with:\r\n          in: main.ahk\r\n          out: dist/x86/PastePlus.exe\r\n          icon: assets/icon.ico\r\n          arch: x86\r\n\r\n      - uses: KamaranL/Ahk2Exe-action@v1\r\n        with:\r\n          in: main.ahk\r\n          out: dist/x64/PastePlus.exe\r\n          icon: assets/icon.ico\r\n          arch: x64\r\n        id: build-x64\r\n\r\n      - run: Write-Output \"$env:AHK_BUILD_64\"\r\n        # prints out the absolute path to the compiled 64-bit executable\r\n        shell: pwsh\r\n        env:\r\n          AHK_BUILD_X64: ${{ steps.build-x64.outputs.main_ahk-x64 }}\r\n```\r\n\r\n### Outputs\r\n\r\nThis action outputs the absolute path of the compiled standalone .exe using the script's filename as the key, formatted with:\r\n\r\n- periods (.) replaced by underscores (_)\r\n- \"-${{ inputs.arch }}\" appended\r\n- the entire key converted to lowercase\r\n\r\n[See below](#examples) for some examples.\r\n\r\n#### Examples\r\n\r\n| in                  | out                    | arch | outputs key        | outputs value                                   |\r\n| ------------------- | ---------------------- | ---- | ------------------ | ----------------------------------------------- |\r\n| main.ahk            | dist/x64/PastePlus.exe | x64  | main_ahk-x64       | D:\\a\\PastePlus\\PastePlus\\dist\\x64\\PastePlus.exe |\r\n| util/UrlScraper.ahk | ***null***             | x86  | urlscraper_ahk-x86 | ${{ github.workspace }}\\util\\UrlScraper.exe     |\r\n\r\n## Acknowledgements\r\n\r\n- Special thanks to [AutoHotkey](https://github.com/AutoHotkey) and its contributors\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamaranl%2Fahk2exe-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamaranl%2Fahk2exe-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamaranl%2Fahk2exe-action/lists"}