Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Dec 8, 2023
1 parent 425b674 commit 317d570
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/pkger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 317d570

Please sign in to comment.