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

Downloadscript is failing on GitHub Enterprise 3.5.2 #240

Closed
mariusfilipowski opened this issue Oct 27, 2022 · 5 comments
Closed

Downloadscript is failing on GitHub Enterprise 3.5.2 #240

mariusfilipowski opened this issue Oct 27, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@mariusfilipowski
Copy link

We are using actionlint in an GitHub Action in GitHub Enterprise.
Since some days we get the error:

Run bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  3851  100  3851    0     0  22005      0 --:--:-- --:--:-- --:--:-- 22005
Start downloading actionlint v1.[6](...runs/4862?check_suite_focus=true#step:3:6).21 to /opt/actions-runner/_work...
Detected OS=linux ext=tar.gz arch=amd64
Downloading https://github.com/rhysd/actionlint/releases/download/v1.6.21/actionlint_1.6.21_linux_amd64.tar.gz with curl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
actionlint

100 1[7](...runs/4862?check_suite_focus=true#step:3:7)17k  100 1717k    0     0  144[8](...4862?check_suite_focus=true#step:3:8)k      0  0:00:01  0:00:01 --:--:-- 1448k
Downloaded and unarchived executable: /opt/actions-runner/_work/.../.../actionlint
/dev/fd/63: line 135: : No such file or directory
Done: 1.6.21
installed by downloading from release page
built with go1.1[9](...check_suite_focus=true#step:3:9).1 compiler for linux/amd64
Error: Process completed with exit code 1.

Could it be that the new output format is not supported there? See this line:

echo "executable=${exe}" >> "$GITHUB_OUTPUT"

@rhysd rhysd added the bug Something isn't working label Oct 27, 2022
@rhysd
Copy link
Owner

rhysd commented Oct 27, 2022

Could you check if the HEAD of main branch fixed this issue?

@rhysd
Copy link
Owner

rhysd commented Nov 1, 2022

I assume this issue was fixed. If someone finds that this issue still happens, please let me know by leaving comment here.

@rhysd rhysd closed this as completed Nov 1, 2022
@mariusfilipowski
Copy link
Author

mariusfilipowski commented Nov 2, 2022

Thanks for fixing. Running on GitHub enterprise 3.6.2 it fails now:

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]

@rhysd
Copy link
Owner

rhysd commented Nov 2, 2022

So it works as intended, right? Thanks for confirming that.

@mariusfilipowski
Copy link
Author

For 3.5.2 Yes. But just after we upgraded to 3.6 it now fails. Should I create another issue for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants