diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5c32c5..3b2532c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,5 +58,5 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: guppyscreen-${{ env.GUPPY_ARCHIVE_NAME }} - path: ./${{ env.GUPPY_ARCHIVE_NAME }} + name: ${{ env.GUPPY_ARCHIVE_NAME }} + path: ./${{ env.GUPPY_ARCHIVE_NAME }}.tar.gz diff --git a/release.sh b/release.sh index 2636586..6a8028d 100755 --- a/release.sh +++ b/release.sh @@ -14,18 +14,18 @@ cp reinstall-creality.sh $RELEASES_DIR if [ x"$CROSS_COMPILE" == x"mips-linux-gnu-" ]; then ## k1 if [ $ZBOLT -eq 1 ]; then - tar cf guppyscreen-zbolt.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt.tar" + tar czf guppyscreen-zbolt.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt" else - tar cf guppyscreen.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen.tar" + tar czf guppyscreen.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen" fi else if [ $ZBOLT -eq 1 ]; then - tar cf guppyscreen-zbolt-arm.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt-arm.tar" + tar czf guppyscreen-zbolt-arm.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt-arm" else - tar cf guppyscreen-arm.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-arm.tar" + tar czf guppyscreen-arm.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-arm" fi fi