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

Store date in variable instead of recomputing it dynamically #17

Open
fwcd opened this issue Aug 29, 2023 · 0 comments
Open

Store date in variable instead of recomputing it dynamically #17

fwcd opened this issue Aug 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fwcd
Copy link
Owner

fwcd commented Aug 29, 2023

If the date changes during a CI build (e.g. because the workflow starts before midnight and ends after), it will fail as evidenced e.g. by https://github.com/fwcd/archlinuxarm-images/actions/runs/6017874327/job/16324990053.

To fix this, we should output the date once in a stage and then reference it instead of recomputing it on-the-fly.

@fwcd fwcd added the bug Something isn't working label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant