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

Error: Temporary file value is not set #11

Open
ghost opened this issue Jun 2, 2021 · 5 comments
Open

Error: Temporary file value is not set #11

ghost opened this issue Jun 2, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 2, 2021

I want to build an apk with github actions .

My project : https://github.com/poorvajappja/gluon-sample-ci

But if I run workflow it comes like this .

2uh
qc

How can I solve this error ?

@MichaelEllis
Copy link

I have exactly the same problem. The Gluon instructions seem not to include a description on what needs to be done for a clean machine/user to establish the code signing necessary for the test gluon-sample-ci to complete building for Android or iOS

@ghost
Copy link
Author

ghost commented Aug 2, 2021

@MichaelEllis I can't understand. Can you explain in detail ?

@MichaelEllis
Copy link

@MichaelEllis I can't understand. Can you explain in detail?

I have made some progress but have now been stumped by the necessary steps required to gain the necessary signing certificates for Apple which require I pay for Apple developer fee. This is going to have to wait for a bit!

@macgibbon
Copy link

macgibbon commented Jul 27, 2022

I am stuck with the same error with the Android build using ubuntu-lastest runner as well as a self hosted runner using ubuntu 22.04 running in a Virtual Box session on a Windows host. I have been able to build the project successfully using maven on the Virtual box session so I am leaning towards a regression in a tool used in the yaml script as a cause.

image

@macgibbon
Copy link

This error building for Android resolved for me on a self-hosted runner after I built a keystore using Android Studio and converted it to base64 supplied as a base64 entry in github action secrets.

Code snippet to convert to base 64
new String(java.util.Base64.getEncoder().encode(java.nio.file.Files.readAllBytes(java.nio.file.Paths.get("mykey.jks"))))

Would it be possible to either check for the keystore and issue an appropriate error or default to creating a debug keystore. That might make for a faster startup process for new users.

I think making use of CI as Github actions is very big step in making JavaFX viable on cell phones and embedded projects like the Raspberry Pi. Getting the full tool chain working on the various platform and keeping the various components working has become a major pain with the pace of updates to Java, Eclipse and or IntelliJ, Android, Linux, Graal and Visual Studio, Raspian etc.

Ci as actions on Github doesn't simplify the process but it does centralize it!

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

No branches or pull requests

2 participants