-
Notifications
You must be signed in to change notification settings - Fork 19
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
Temporary fix for failing to sync files #51
Comments
Hmm, I looked at https://github.com/flintlib/flint2/actions/runs/4497220469/jobs/7912619166?pr=1307. It seems like it timed out while syncing the files from the VM to the runner. I'm guessing the files were never synced.
No, it uses the default working directory for the runner. |
Yeah, happens quite often. So if the job is aborted, will it still remove files? Or where do the files go to? Anyway, feel free to close. |
There is no live syncing of files. Files are synced once in the beginning from the runner to the VM when the VM is ready. Then, when the command is complete, files are synced once from the VM to the runner. If the last sync is not completed before the job terminates, then there might be missing files. |
BTW I'm playing with |
I have a problem where, occasionally, the runner cannot sync the files before exiting the emulator. The job seems to work fine, it is just this issue.
As a temporary fix (as I know that this is already reported as an issue in #29), I would like to indicate to the runner that some steps was completed, and that a timeout and error is fine. I did this by setting
However, if it did time out, the runner will not find the files, regardless of whether it was successful or not. I have also tried to set output variables via
echo "myvar=true" >> $GITHUB_OUTPUT
, but that should also save the variables to a file, so it should also not work.Perhaps
cross-platform-actions/action
works inside another directory? Perhaps these files exists, just that they are in another directory? If so, what is its path?The text was updated successfully, but these errors were encountered: