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

Unable to locate executable file: curl. #484

Open
tabbi89-jobox opened this issue Sep 27, 2024 · 3 comments
Open

Unable to locate executable file: curl. #484

tabbi89-jobox opened this issue Sep 27, 2024 · 3 comments

Comments

@tabbi89-jobox
Copy link

Warning: Unexpected input(s) 'GITHUB_TOKEN', valid inputs are ['output', 'version', 'spec-file', 'spec-url', 'swagger-config-file', 'swagger-config-url']
Run Legion[2](XXX#step:11:2)/swagger-ui-action@v1
/usr/bin/docker exec  XXX sh -c "cat /etc/*release | grep ^ID"
Configuration: {
  "configMode": "specFile",
  "specFile": "swagger.json",
  "specUrl": "",
  "swaggerConfigFile": "",
  "swaggerConfigUrl": "",
  "swaggerUIVersion": "^3.0.0",
  "outputPath": "swagger-ui"
}
Swagger UI version: v3.52.5
Error: Error: Unable to locate executable file: curl. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

Job runs on ubuntu

@Legion2
Copy link
Owner

Legion2 commented Sep 27, 2024

Can you please provide the action yaml definition of this job

@tabbi89-jobox
Copy link
Author

tabbi89-jobox commented Sep 27, 2024

- name: Generate Swagger UI
  uses: Legion2/swagger-ui-action@v1
  with:
    output: swagger-ui
    spec-file: swagger.json
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to GitHub Pages
  uses: peaceiris/actions-gh-pages@v3
  with:
    github_token: ${{ secrets.GITHUB_TOKEN }}
    publish_dir: swagger-ui

@Legion2
Copy link
Owner

Legion2 commented Sep 27, 2024

please checkout the new release https://github.com/Legion2/swagger-ui-action/releases/tag/v1.3.0

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