Giter Club home page Giter Club logo

autohotkey-build's Issues

No .exe file generated with AutoHotkey v2.0.4

Hi there,

I tried to use your action the following way:

on:
  push: {}
  pull_request: {}

jobs:
  build:
    runs-on: windows-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Build with AHK v2.0.4
        uses: nukdokplex/autohotkey-build@v1
        with:
          version: v2.0.4
          x64: false
          x86: true
          x86_suffix: ""
          compression: none
          in: ReaHotkey.ahk
          out: ""
      - 
        name: "Build artifact"
        run: 7z a ReaHotkey.zip ReaHotkey.exe Images nvdaControllerClient32.dll
      - 
        name: "Upload artifacts"
        uses: actions/upload-artifact@v3
        with:
          name: "ReaHotkey"
          path: ReaHotkey.zip

The result is a success message from your script, but no .exe file being there. I don't get any helpful AHK2EXE output either. Do you know what might be wrong / what I could check?

Compile multiple *.ahk script, but lost one

There is "EhAria2.ahk", "EhAria2Extension.ahk" and "EhAria2Torrent.ahk" in directory, but it always failed to compile "EhAria2.exe", "EhAria2Extension.exe" and "EhAria2Torrent.exe".

Here is my workflow yaml

name: Compile

on:
  push:
    branches: 
      - main
    tags:
      - 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
  build:
    runs-on: windows-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Build with AHK v2
        uses: nukdokplex/[email protected]
        with:
          version: v2.0.2
          x64: true
          x64_suffix: ""
          compression: upx
          in: ""
          out: build
      - name: Do Something with builded scripts
        shell: pwsh
        run: |
          ls build
      - name: Upload
        uses: actions/upload-artifact@v3
        with:
            name: my-artifact
            path: ${{ github.workspace }}
      - name: Release
        uses: softprops/[email protected]
        if: startsWith(github.ref, 'refs/tags/')
        with:
          files: |
            build/EhAria2.exe
            build/EhAria2Extension.exe
            build/EhAria2Torrent.exe
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Here is my Workflow log : Jvcon/EhAria2/actions

The build step mentions the file is compiled but output folder contains nothing

The releases folder has one ahk file that the build step tries to compile from and output to testfolder.
The log shows the file successfully compiled, but when you check with ls there is nothing inside the testfolder:

yml file: https://github.com/randomguyingithub/arensalogxclaimer/blob/fe1215ea483248e3cbdf079c1e2f4a75e69477cd/.github/workflows/buildtest1.yml

log: https://github.com/randomguyingithub/arensalogxclaimer/actions/runs/5520628914/jobs/10067523705

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.