Merged
Conversation
Signed-off-by: Kevin Cui <bh@bugs.cc>
ihexon
approved these changes
Feb 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
目前我们在 github action 中使用的是
macos-latest,这个 image 会安装aws cli。而在最近的更新中,github 更新了aws cli的版本。现在aws cli的版本为:2.23.2。见: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#tools而目前
cloudflare r2的 s3 api 兼容层对这个版本的 cli 支持存在问题,导致在上传文件时,永远在最后一步做 hash 校验时失败。见: https://developers.cloudflare.com/r2/examples/aws/aws-cli/通过
cloudflare文档中给出的缓解方案来避免此问题。同时添加
--debug参数,以便后续如果出现其他问题,更容易定位问题。