Skip to content

Commit

Permalink
[ci] Fixes awscurl release build
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu committed Aug 14, 2024
1 parent b56168d commit b55df0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/serving_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Copy awscurl staging artifacts to S3
if: ${{ github.event.inputs.mode == 'staging' }}
run: |
./gradlew :awscurl:jar
./gradlew :awscurl:jar -Pstaging
DJL_VERSION=$(cat gradle.properties | awk -F '=' '/djl_version/ {print $2}')
aws s3 cp awscurl/build/awscurl s3://djl-ai/publish/awscurl/${DJL_VERSION}/
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/awscurl/${DJL_VERSION}/*"
Expand Down

0 comments on commit b55df0a

Please sign in to comment.