diff --git a/.build.yml b/.build.yml index 4fbff1f..d7b333b 100644 --- a/.build.yml +++ b/.build.yml @@ -2,6 +2,8 @@ image: alpine/latest packages: - go - python3-dev + - tar + - xz tasks: - go-get: | cd hswro-alarm-bot @@ -31,9 +33,8 @@ tasks: - build-arm8: | cd hswro-alarm-bot env GOOS=linux GOARCH=arm64 go build -o alarm_bot.arm8 + - compress: | + cd hswro-alarm-bot + tar cJvf alarm_bot.tar.xz alarm_bot.x86-64 alarm_bot.arm5 alarm_bot.arm6 alarm_bot.arm7 alarm_bot.arm8 artifacts: - - hswro-alarm-bot/alarm_bot.x86-64 - - hswro-alarm-bot/alarm_bot.arm5 - - hswro-alarm-bot/alarm_bot.arm6 - - hswro-alarm-bot/alarm_bot.arm7 - - hswro-alarm-bot/alarm_bot.arm8 + - hswro-alarm-bot/alarm_bot.tar.xz