From 5bd8a0bb8193fa4f1982dfcfd041ed30d64e1ec4 Mon Sep 17 00:00:00 2001 From: Siddharth Venkatesan Date: Wed, 11 Sep 2024 12:47:04 -0700 Subject: [PATCH] [ci][fix] use v2 for aws credentials due to glib issues with node 20 (#3464) --- .github/workflows/native_jni_s3_pytorch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/native_jni_s3_pytorch.yml b/.github/workflows/native_jni_s3_pytorch.yml index 79639623cc8..c2e55ab4198 100644 --- a/.github/workflows/native_jni_s3_pytorch.yml +++ b/.github/workflows/native_jni_s3_pytorch.yml @@ -103,7 +103,7 @@ jobs: export PYTORCH_PRECXX11=true ./gradlew -Pjni -Ppt_version=$PYTORCH_VERSION :integration:test "-Dai.djl.default_engine=PyTorch" - name: Configure Deployment AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v2 with: role-to-assume: arn:aws:iam::425969335547:role/djl-ci-publish-role aws-region: us-east-2 @@ -253,7 +253,7 @@ jobs: ./gradlew :engines:pytorch:pytorch-native:compileJNI -Pprecxx11 -Ppt_version=$PYTORCH_VERSION ./gradlew -Pjni -Ppt_version=$PYTORCH_VERSION :integration:test "-Dai.djl.default_engine=PyTorch" - name: Configure Deployment AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v2 with: role-to-assume: arn:aws:iam::425969335547:role/djl-ci-publish-role aws-region: us-east-2