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

fix: use-cross default false still installing cross #8

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

grzuy
Copy link
Contributor

@grzuy grzuy commented Oct 26, 2023

Hi @philss , thanks for great work around rustler precompiled!

I was experiencing an issue were not setting use-cross would still run the "install cross" step.

Could it be because of actions/runner#1173?

I had to use-cross: null to make it work right in https://github.com/mimiquate/candlex/pull/9/files#diff-bdfe89ee8491e51e3f81ada685c51d24188416d8b529b443ee6085a0e0fd4a4aR45-R47.

Thanks in advance!

@philss
Copy link
Owner

philss commented Oct 27, 2023

Hi @grzuy!

Thanks for the report! I really don't know if this is related to that, but I find your patch to be better than what is implemented.
I'm going to merge and release a patch version, so you can test.

Thanks!

@philss philss merged commit 8029fa7 into philss:main Oct 27, 2023
philss pushed a commit that referenced this pull request Oct 27, 2023
This should prevent the execution of the steps, even if the `use-cross` is set to "false".
philss added a commit that referenced this pull request Oct 27, 2023
philss added a commit that referenced this pull request Oct 27, 2023
philss added a commit that referenced this pull request Oct 27, 2023
@grzuy
Copy link
Contributor Author

grzuy commented Oct 27, 2023

Thank you!

@grzuy grzuy deleted the fix-use-cross-default branch October 27, 2023 11:20
@grzuy
Copy link
Contributor Author

grzuy commented Oct 27, 2023

Indeed this change fixed it for me in mimiquate/candlex#9.

First removed the workaround I had, which made build fail.
Then 1.1.2 fixed it.

image

UPDATE: Saw it got reverted in 1.1.3.

@grzuy grzuy mentioned this pull request Oct 27, 2023
@philss
Copy link
Owner

philss commented Oct 27, 2023

@grzuy for some reason this version broke my build, as none of the cross installation steps got executed. So I decided to revert in a new version. I'm going to investigate more and try to fix in a future version.

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.

2 participants