From f6c34633a4e44cf41956f759d62eb9a8e8b61a38 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Wed, 4 Dec 2024 15:34:46 +0800 Subject: [PATCH] feat: add TOS_ENDPOINT --- .github/actions/download-artifact/action.yml | 1 + .github/actions/pnpm-cache/action.yml | 1 + .github/actions/upload-artifact/action.yml | 1 + .github/workflows/ci.yml | 1 + .github/workflows/reusable-build.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/actions/download-artifact/action.yml b/.github/actions/download-artifact/action.yml index 1c218d90162f..ffbea59881ac 100644 --- a/.github/actions/download-artifact/action.yml +++ b/.github/actions/download-artifact/action.yml @@ -49,3 +49,4 @@ runs: SECRET_KEY: ${{ env.TOS_SECRET_KEY }} BUCKET_NAME: ${{ env.TOS_BUCKET_NAME }} REGION: ${{ env.TOS_REGION }} + ENDPOINT: ${{ env.TOS_ENDPOINT }} diff --git a/.github/actions/pnpm-cache/action.yml b/.github/actions/pnpm-cache/action.yml index 16e8b2c48f6c..247db4999dcf 100644 --- a/.github/actions/pnpm-cache/action.yml +++ b/.github/actions/pnpm-cache/action.yml @@ -77,6 +77,7 @@ runs: SECRET_KEY: ${{ env.TOS_SECRET_KEY }} BUCKET_NAME: ${{ env.TOS_BUCKET_NAME }} REGION: ${{ env.TOS_REGION }} + ENDPOINT: ${{ env.TOS_ENDPOINT }} - name: Install dependencies shell: bash diff --git a/.github/actions/upload-artifact/action.yml b/.github/actions/upload-artifact/action.yml index 5dff8f5a99f8..e6b1aa754043 100644 --- a/.github/actions/upload-artifact/action.yml +++ b/.github/actions/upload-artifact/action.yml @@ -48,6 +48,7 @@ runs: SECRET_KEY: ${{ env.TOS_SECRET_KEY }} BUCKET_NAME: ${{ env.TOS_BUCKET_NAME }} REGION: ${{ env.TOS_REGION }} + ENDPOINT: ${{ env.TOS_ENDPOINT }} - name: Upload local id: upload-local diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 916d927fa711..e4a3ff34836d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ env: TOS_SECRET_KEY: ${{ secrets.TOS_SECRET_KEY }} TOS_BUCKET_NAME: ${{ vars.TOS_BUCKET_NAME }} TOS_REGION: ${{ vars.TOS_REGION }} + TOS_ENDPOINT: ${{ env.TOS_ENDPOINT }} jobs: get-runner-labels: diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 48e61a2e5837..d21413b92302 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -75,6 +75,7 @@ env: TOS_SECRET_KEY: ${{ secrets.TOS_SECRET_KEY }} TOS_BUCKET_NAME: ${{ vars.TOS_BUCKET_NAME }} TOS_REGION: ${{ vars.TOS_REGION }} + TOS_ENDPOINT: ${{ env.TOS_ENDPOINT }} jobs: build: