Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executable tool with dependencies #32

Open
xls opened this issue Nov 2, 2021 · 1 comment
Open

executable tool with dependencies #32

xls opened this issue Nov 2, 2021 · 1 comment

Comments

@xls
Copy link

xls commented Nov 2, 2021

When executing the tool defined in PathInArchive, its dependent binary can't be loaded and error out.
Is this by design? I Briefly looked at the code but would including binary path to PATH environment be effective instead of move?

@i2van
Copy link

i2van commented Mar 16, 2024

UPDATE

Switched to https://github.com/Alex079/setup-custom-tool

  1. Tool setup
  2. Tool usage

ORIGINAL ANSWER

pathInArchive: "*.*" does not work; it is also mandatory when used with archive.

I extracted each file separately:

      - uses: engineerd/[email protected]
        with:
          name: "LPRun8-x64.exe"
          url: "https://www.linqpad.net/GetFile.aspx?preview+LINQPad8-Beta.zip"
          pathInArchive: "LPRun8-x64.exe"
      - uses: engineerd/[email protected]
        with:
          name: "LINQPad.Runtime.dll"
          url: "https://www.linqpad.net/GetFile.aspx?preview+LINQPad8-Beta.zip"
          pathInArchive: "LINQPad.Runtime.dll"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants