setup-pscale-action icon indicating copy to clipboard operation
setup-pscale-action copied to clipboard

Detect the OS Arch and download appropriate binary

Open PandelisZ opened this issue 1 year ago • 1 comments

Arm runners are all their age now would be nice to detect the Architecture and download the appropriate binary as I see it already detects OS

Run planetscale/setup-pscale-action@v1
  with:
    version: latest
  env:
    PLANETSCALE_SERVICE_TOKEN_ID: ***
    PLANETSCALE_SERVICE_TOKEN: ***
    PNPM_HOME: /root/setup-pnpm/node_modules/.bin
    STORE_PATH: /root/setup-pnpm/node_modules/.bin/store/v3
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C tools/pscale -f /runner/_work/_temp/339...
0s
Run pscale branch create [...]
/run[...]4.sh: line 1: /opt/hostedtoolcache/pscale/0.209.0/arm64/pscale: cannot execute binary file: Exec format error
Error: Process completed with exit code 126.

PandelisZ avatar Sep 26 '24 17:09 PandelisZ

Great idea

mscoutermarsh avatar Sep 26 '24 18:09 mscoutermarsh