fix(s3): use us-east-1 region and force S3 cache fetch in CI
All checks were successful
Go CI with S3 Caching / build-and-test (push) Successful in 1m22s

This commit is contained in:
2026-05-19 21:19:10 -07:00
parent 31b57cd2af
commit c4227a0eb1
2 changed files with 4 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ inputs:
required: false
s3-region:
description: S3 region name.
default: auto
default: us-east-1
required: false
s3-endpoint:
description: Optional S3-compatible endpoint URL, for example https://s3.example.com.

View File

@@ -30,12 +30,13 @@ jobs:
env:
SCCACHE_AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }}
SCCACHE_AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: auto
AWS_REGION: us-east-1
- name: Clean Local Go Cache (Start Fresh)
run: |
echo "Clearing local cache..."
go clean -cache
rm -rf ~/.cache/go-cache
- name: Cold Build (Cache Miss / Populates S3)
run: |
@@ -46,6 +47,7 @@ jobs:
run: |
echo "Clearing local cache to force remote S3 fetch..."
go clean -cache
rm -rf ~/.cache/go-cache
- name: Warm Build (Cache Hit / Fetches from S3)
run: |