Skip to content

Commit

Permalink
Fix Native S3 PyTorch workflow (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyang16 authored Aug 17, 2022
1 parent 1c68df2 commit a1275db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/native_s3_pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Copy files to S3
working-directory: engines/pytorch/pytorch-native
run: |
./gradlew uploadS3
./gradlew :engines:pytorch:pytorch-native:uploadS3
PYTORCH_VERSION=$(cat gradle.properties | awk -F '=' '/pytorch_version/ {print $2}')
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/pytorch/${PYTORCH_VERSION}/*"

0 comments on commit a1275db

Please sign in to comment.