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

GitHub action using Ubuntu fails #1426

Closed
sonomirco opened this issue Sep 22, 2024 · 7 comments
Closed

GitHub action using Ubuntu fails #1426

sonomirco opened this issue Sep 22, 2024 · 7 comments
Labels

Comments

@sonomirco
Copy link

Usage Information

NUKE 8.0.0 / net8.0 / Windows

Description

Using Ubuntu, I have permission denied by NUKE.

image

As you can see from the image, the process doesn't even start.

Reproduction Steps

jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: 🛎 Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 1

  - name: 🏗 Run Nuke
    run: ./build.cmd

Expected Behavior

Building Nuke as expected.

Actual Behavior

I have a permission denied error.

Regression?

No response

Known Workarounds

No response

Could you help with a pull-request?

No

@sonomirco sonomirco added the bug label Sep 22, 2024
@lahma
Copy link
Contributor

lahma commented Sep 22, 2024

Ubuntu is a Linux system, build.cmd is a Windows command. Use build.sh and ensure you have correct line endings in your repository.

@matkoch
Copy link
Member

matkoch commented Sep 22, 2024

@lahma build.cmd can work crossplatform

@sonomirco you've committed those files without execution permission. not a bug.

@matkoch matkoch closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2024
@sonomirco
Copy link
Author

sonomirco commented Sep 22, 2024

@matkoch
Are you talking about GitHub permissions? Because if I use Windows-latest build.cmd works without any permission request.

@matkoch
Copy link
Member

matkoch commented Sep 22, 2024

File execution permissions (chmod +x) on Git.

@sonomirco
Copy link
Author

@matkoch
Copy link
Member

matkoch commented Sep 22, 2024

This issue is easy to find and is not specific to the project.

https://github.com/orgs/community/discussions/26239

2024-09-22-Arc-github actions permission denied-005082

Moreover, the setup does exactly that. You must have made revert/reset operations after the setup.

@sonomirco
Copy link
Author

Moreover, the setup does exactly that. You must have made revert/reset operations after the setup.
No, I didn’t, but thanks for the information. 👍

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

No branches or pull requests

3 participants