Fix #858, Use Unique Cache Keys for Workflow Reruns #859
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist (Please check before submitting)
Describe the contribution
Fixes #858
Testing performed
Build, Test, and Run [OMIT_DEPRECATED = false] Run 1 - Cache Key: deprecated-build-16353548187-1-release
Build, Test, and Run [OMIT_DEPRECATED = false] Run 2 - Cache Key: deprecated-build-16353548187-2-release
Build, Test, and Run [OMIT_DEPRECATED = true] Run 1 - Cache Key: build-16353548197-1-release
Build, Test, and Run [OMIT_DEPRECATED = true] Run 2 - Cache Key: build-16353548197-2-release
cFS Documentation and Guides Run 1 - Cache Key: cfs-doc-16353548233-1
cFS Documentation and Guides Run 2 - Cache Key: cfs-doc-16353548233-2
Expected behavior changes
github.run_numberuses a unique number per workflow file, but it does not change on re-runs of the same workflow run and is not unique per run.github.run_idis a a globally unique identifier for a specific run of a workflow.github.run_attemptincrements each time a workflow is rerun. Using bothgithub.run_idandgithub.run_attemptwill provide a unique key for any workflow run.System(s) tested on
GitHub Actions
Contributor Info - All information REQUIRED for consideration of pull request
Ariel Walker, MCSG TECH