From 6b6133e85840bff212c652cad05035ce2e63a3fd Mon Sep 17 00:00:00 2001 From: JingyaHuang Date: Tue, 17 Oct 2023 09:10:09 +0000 Subject: [PATCH] try again --- .github/workflows/test_onnxruntime_train.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_onnxruntime_train.yml b/.github/workflows/test_onnxruntime_train.yml index d8a6694dbb0..05a298f66b7 100644 --- a/.github/workflows/test_onnxruntime_train.yml +++ b/.github/workflows/test_onnxruntime_train.yml @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-latest env: AWS_REGION: us-east-1 + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} EC2_AMI_ID: ami-0dc1c26161f869ed1 EC2_INSTANCE_TYPE: g4dn.xlarge EC2_SUBNET_ID: subnet-859322b4,subnet-b7533b96,subnet-47cfad21,subnet-a396b2ad,subnet-06576a4b,subnet-df0f6180 @@ -26,8 +28,8 @@ jobs: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ env.AWS_REGION }} - name: Start EC2 runner id: start-ec2-runner