-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
common.mk: Fix BASEDIR to manage github-action workspace directory #6066
Conversation
I hate such hard coded values, but can't imagine another solution... But for the test targets, we should not use |
Likewise.
Why so? Any other option that comes to mind? Besides merging it into the |
This is a bit over my head but seems sensible. |
Because It's the ugly But why not creating a new make file like |
Ok, coming up with something as #6065 (comment) will take me a little longer. I'll have a look at it over the coming days and create a PR (or reuse yours @hgy59) so it uses the default publish errror callout. In the meantime I belive this simple fix fixes the immediate issue. I'll merge this as-is and let's confirm it works ok. I suggest we look into adding the other enhancements elsewhere, possibly into your PR #6065 directly as this would keep the discussion thread:
Are we ok with this proposal? |
I will merge #6065 with changes of spksrc.publish.mk only. The other tasks shold be done in dedicated PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@th0ma7 sorry, but after my approval, I found the same definition in spksrc.arch.mk:
sould it be fixed too? |
yes, let me do, yet another pr... sigh... and good catch. |
Description
common.mk: Fix BASEDIR to manage github-action workspace directory.
When using github-action the
spksrc
repository sits under/github/workspace
. Therefore theBASEDIR
value set inspksrc.common.mk
is not taking this into account, making publishing to file asmake setup-synocommunity
had failed previously with the following:Above that error can be seen the actual path being used by github-action:
Fixes: #6061
Follow-up to: #6064 (thnx @hgy59) and broken by #6002
Checklist
all-supported
completed successfullyType of change