diff --git a/tools/actions/composites/setup-caches/action.yml b/tools/actions/composites/setup-caches/action.yml index 0927b43c5a3d..bc6e12cf431d 100644 --- a/tools/actions/composites/setup-caches/action.yml +++ b/tools/actions/composites/setup-caches/action.yml @@ -23,6 +23,10 @@ inputs: description: "aws cache region" required: false default: "eu-west-1" + turbo-server-token: + description: "custom token for local s3 server" + required: false + default: "yolo" runs: using: "composite" @@ -74,7 +78,7 @@ runs: if: steps.aws.conclusion == 'success' && inputs.skip_turbo_cache != 'true' uses: ./tools/actions/turborepo-s3-cache with: - server-token: "${{ secrets.TURBOREPO_SERVER_TOKEN }}" + server-token: "${{ inputs.turbo-server-token }}" cleanup-cache-folder: "true" aws-access-key: ${{ env.AWS_ACCESS_KEY_ID }} aws-secret-key: ${{ env.AWS_SECRET_ACCESS_KEY }} diff --git a/tools/actions/composites/setup-test-desktop/action.yml b/tools/actions/composites/setup-test-desktop/action.yml index 7d53fc5bccbd..3d3e42738888 100644 --- a/tools/actions/composites/setup-test-desktop/action.yml +++ b/tools/actions/composites/setup-test-desktop/action.yml @@ -16,6 +16,10 @@ inputs: turborepo-server-port: description: "turborepo server port" required: false + turbo-server-token: + description: "custom token for local s3 server" + required: false + default: "yolo" runs: using: "composite" @@ -41,7 +45,7 @@ runs: - name: Build dependencies if: inputs.turborepo-server-port != '' run: | - pnpm build:lld:deps --api="http://127.0.0.1:${{ inputs.turborepo-server-port }}" --token="${{ secrets.TURBOREPO_SERVER_TOKEN }}" --team="foo" + pnpm build:lld:deps --api="http://127.0.0.1:${{ inputs.turborepo-server-port }}" --token="${{ inputs.turbo-server-token }}" --team="foo" shell: bash - name: Build dependencies if: inputs.turborepo-server-port == ''