Skip to content

millerjryan/Action-Ahk2Exe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Action-Ahk2Exe

A Github actions script gets the compiler files from github repositories instead autohotkey.com to bypass cloudflare DDoS protection.

Inputs

Input Type Requied Description
in String Yes Name (and path if not root) of file to compile
out String No Name (and path if not root) to give the compiled script
version String No Version to compile with, as a Github tag
bits String or Number No Compiler bit count (also specify U before bits for unicode, v1 only)
icon String No Name (and path if not root) of icon

Remarks

While this actions should work with v1.1 scripts, it should be noted that really old versions of AutoHotkey will not work, as their directory structure in releases is different

The compiler can only convert file in each step, this will change in the future

Finally, this action will only run on windows-latest

Example usage

Build script and upload to releases

name: Build Binary and release

on: # Only run when a release is created
  push:
    tags:
      - '*'

permissions:
  contents: write

jobs:
  BuildAndRelease:
    name: Build and Release
    runs-on: windows-latest
    steps:
      - name: Checkout # Get repository
        uses: actions/checkout@v2

      - name: Ahk2Exe # Build binary
        id: ahk2exe
        uses: Banaanae/Action-Ahk2Exe@main
        with:
            in: MyScript.ahk
          
      - name: Release # Upload binary to most recent release
        uses: softprops/action-gh-release@v2
        with:
          files: MyScript.exe

About

Ahk2Exe github action which uses github repositories instead autohotkey.com to bypass cloudflare DDoS protection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors