From 317d57027a5c6434d316b19e8e0bb56f78bf2ac5 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 8 Dec 2023 07:24:06 -0500 Subject: [PATCH] wip --- .github/workflows/pkger.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pkger.yml b/.github/workflows/pkger.yml index cca3079b36..d25873f04b 100644 --- a/.github/workflows/pkger.yml +++ b/.github/workflows/pkger.yml @@ -155,18 +155,12 @@ jobs: ${{ steps.bottle.outputs.filename }} > ${{ steps.bottle.outputs.filename }}.sha256sum - run: | - cp() { - aws s3 cp $1 \ - s3://${{ secrets.AWS_S3_BUCKET }}/${{ needs.build.outputs.project }}/${{ needs.build.outputs.platform }}/${{ needs.build.outputs.arch }}/$1 - } - - mv ${{ steps.bottle.outputs.filename }} ./$BASENAME - - cp $BASENAME - cp $BASENAME.asc - cp $BASENAME.sha256sum - cp versions.txt + aws s3 cp ${{ steps.bottle.outputs.filename }} $DIRNAME/$BASENAME + aws s3 cp ${{ steps.bottle.outputs.filename }}.asc $DIRNAME/$BASENAME.asc + aws s3 cp ${{ steps.bottle.outputs.filename }}.sha256sum $DIRNAME/$BASENAME.sha256sum + aws s3 cp versions.txt $DIRNAME/versions.txt env: + DIRNAME: s3://${{ secrets.AWS_S3_BUCKET }}/${{ needs.build.outputs.project }}/${{ needs.build.outputs.platform }}/${{ needs.build.outputs.arch }} BASENAME: v${{ needs.build.outputs.version }}.tar.${{ matrix.compression }} if: ${{ inputs.upload }}