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

fix: add arch to cache key #493

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

Zxilly
Copy link
Contributor

@Zxilly Zxilly commented Jul 25, 2024

Description:

GitHub has added the arm64 runner, so arch should be used as part of the cache key. Otherwise, if there are macos-13 macos-14 running at the same time, the late executor will get the wrong cache.

Related issue:

actions/setup-python#896

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@Zxilly Zxilly requested a review from a team as a code owner July 25, 2024 07:46
@kolyshkin
Copy link

See also: #368, #383

@Zxilly
Copy link
Contributor Author

Zxilly commented Aug 14, 2024

@kolyshkin This mainly happens on macOS amd64/arm64, and the previous patch didn't resolve it.

@kolyshkin
Copy link

@kolyshkin This mainly happens on macOS amd64/arm64, and the previous patch didn't resolve it.

I agree. Yet one day we'll have Windows and Linux on ARM and this will be needed there as well. Thanks for adding, LGTM(NB).

@Zxilly
Copy link
Contributor Author

Zxilly commented Aug 15, 2024

For GitHub Enterprise we already have Linux arm64 provided by ARM.

@HarithaVattikuti HarithaVattikuti merged commit b26d402 into actions:main Aug 26, 2024
61 checks passed
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

Successfully merging this pull request may close these issues.

5 participants