-
Notifications
You must be signed in to change notification settings - Fork 377
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
environment variables are not passed #912
Comments
This is a bug I believe that was documented in #863 and patched in #867. Try setting them in It would help if you pass the |
Cross.toml
Temporarily switched to 0.2.1 and it still gives the same error, therefore must be unrelated to 0.2.2.
Code producing the issue:
|
Why are you using an old image with 0.2.2? Can you post the full |
|
I thought the issue was with 0.2.2 as 0.2.1 was passing, but it seems that something was changed in code. |
Aha, I see, you've not actually tested 0.2.1 then, the images don't contain any code for how the environment variables are passed to docker. To test 0.2.1 you need to have 0.2.1 installed Instead, try installing cross from current main, you can do this in ci before your
this issue is very much what was described in #863 We will have a 0.2.3 version out soon, but above will work well |
I believe this is fixed? If the issue still persists, or is not related to #863, not I will re-open it. |
Checklist
Describe your issue
cross stopped compiling after last update.
I am using environment variables and now they are not passed for the following targets:
I do have the Cross.toml file and I am able to see environment variables in the debug output of the action.
What target(s) are you cross-compiling for?
aarch64-unknown-linux-musl, arm-unknown-linux-musleabi, i686-unknown-linux-musl, x86_64-unknown-linux-musl
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.2
Example
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: