Skip to content

Commit

Permalink
change build to jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Qing Lan committed Jan 4, 2024
1 parent d373ff5 commit f90117b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/serving_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ jobs:
- name: Copy awscurl snapshot artifacts to S3
if: ${{ github.event.inputs.mode == '' || github.event.inputs.mode == 'snapshot' }}
run: |
./gradlew :awscurl:build
./gradlew :awscurl:jar
aws s3 cp awscurl/build/awscurl s3://djl-ai/publish/awscurl/
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/awscurl/*"
- name: Copy awscurl staging artifacts to S3
if: ${{ github.event.inputs.mode == 'staging' }}
run: |
./gradlew :awscurl:build
./gradlew :awscurl:jar
DJL_VERSION=$(cat gradle.properties | awk -F '=' '/djl_version/ {print $2}')
aws s3 cp awscurl/build/awscurl s3://djl-ai/publish/${DJL_VERSION}/awscurl/
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/awscurl/${DJL_VERSION}/*"
Expand Down

0 comments on commit f90117b

Please sign in to comment.