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

Add missing working-directory tag in run-eden-test action #883

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

uncleDecart
Copy link
Member

Since we are using test.yml as reusable workflow in EVE we clone eden repository in EVE folder and it causes problems with working directories and building and executing binaries.

So we are using working-directory: and path: tags of GitHub actions with hard-coded ./eden value to prevent any problems that might occur with resuing this workflow in EVE.

Since we are using `test.yml` as reusable workflow in EVE we clone
eden repository in EVE folder and it causes problems with working
directories and building and executing binaries.

So we are using `working-directory:` and `path:` tags of GitHub
actions with hard-coded `./eden` value to prevent any problems that
might occur with resuing this workflow in EVE.

Signed-off-by: Pavel Abramov <[email protected]>
@uncleDecart
Copy link
Member Author

During running https://github.com/lf-edge/eden/actions/runs/5712658495/job/15476576181 there was an error with collect-info action, this PR should fix it

cc: @milan-zededa @yash-zededa @giggsoff

@uncleDecart uncleDecart marked this pull request as ready for review July 31, 2023 11:08
@uncleDecart
Copy link
Member Author

@eriknordmark can you please review and approve this?

Copy link
Collaborator

@giggsoff giggsoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope we will refactor the place of setting this option later (for example we set it inside of action here ).

@uncleDecart
Copy link
Member Author

Problem is that as I understand is that globally setting it won't set it locally, but @yash-zededa can correct me if I'm wrong

@yash-zededa
Copy link
Contributor

yash-zededa commented Jul 31, 2023

Problem is that as I understand is that globally setting it won't set it locally, but @yash-zededa can correct me if I'm wrong

That's correct. I have tried to set this globally inside the actions and for me it was not working(I was getting error unknown_option defaults. Seems like the defaults option is only supported for workflow run commands

@uncleDecart uncleDecart merged commit 276827b into lf-edge:master Jul 31, 2023
6 of 9 checks passed
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

Successfully merging this pull request may close these issues.

4 participants