mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-25 03:52:08 +00:00
misc(ci): lets do differently
This commit is contained in:
parent
f7eaf2bee7
commit
cda97a5cfb
13
.github/workflows/build_trtllm.yaml
vendored
13
.github/workflows/build_trtllm.yaml
vendored
@ -24,20 +24,19 @@ permissions:
|
||||
id-token: write # Required to authenticate via OIDC.
|
||||
|
||||
jobs:
|
||||
call-setup-aws-s3-cache:
|
||||
uses: ./.github/workflows/s3-cache.yaml # TODO: Change @s3-cache to @main when merged
|
||||
with:
|
||||
runner-group: aws-highmemory-32-plus-priv
|
||||
secrets: inherit
|
||||
|
||||
build:
|
||||
runs-on:
|
||||
group: aws-highmemory-32-plus-priv
|
||||
needs: call-setup-aws-s3-cache
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
|
||||
- name: "Configure AWS Credentials"
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
with:
|
||||
aws-region: us-east-1
|
||||
role-to-assume: ${{ secrets.AWS_ROLE_GITHUB_TGI_TEST }}
|
||||
|
||||
- name: "Install sccache"
|
||||
run: cargo install sscache
|
||||
|
||||
|
1
.github/workflows/s3-cache.yaml
vendored
1
.github/workflows/s3-cache.yaml
vendored
@ -8,7 +8,6 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
|
||||
permissions:
|
||||
contents: read # Required to check out repository.
|
||||
id-token: write # Required to authenticate via OIDC.
|
||||
|
Loading…
Reference in New Issue
Block a user