diff --git a/.gitea/actions/go-cache/action.yml b/.gitea/actions/go-cache/action.yml index 9bf88c3..b067aaa 100644 --- a/.gitea/actions/go-cache/action.yml +++ b/.gitea/actions/go-cache/action.yml @@ -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. diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2277021..5edaa5d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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: |