Skip to content

Commit

Permalink
♻️ (package.yml): refactor download command to remove wget and use lo…
Browse files Browse the repository at this point in the history
…cal zip file for extraction to streamline the workflow process
  • Loading branch information
jandroav committed Feb 13, 2025
1 parent 66c78a9 commit 5a9fc9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,8 @@ jobs:
S3_WEB_URL: https://s3.amazonaws.com/repo.liquibase.com.dry.run/sdkman
S3_BUCKET: s3://repo.liquibase.com.dry.run/sdkman/
run: |
wget --content-disposition --header="Accept: application/octet-stream" --header="Authorization: Token ${{ secrets.BOT_TOKEN }}" ${{ inputs.dry_run_zip_url }}
mkdir -p liquibase-$VERSION/bin/internal
unzip liquibase-$VERSION.zip -d liquibase-$VERSION
unzip .github/target/liquibase-$VERSION.zip -d liquibase-$VERSION
rm -rf liquibase-$VERSION.zip
mv ./liquibase-$VERSION/liquibase ./liquibase-$VERSION/bin/
mv ./liquibase-$VERSION/liquibase.bat ./liquibase-$VERSION/bin/
Expand Down

0 comments on commit 5a9fc9a

Please sign in to comment.