Compress artifacts
This commit is contained in:
parent
349fe504ae
commit
efbd8e882c
11
.build.yml
11
.build.yml
|
@ -2,6 +2,8 @@ image: alpine/latest
|
||||||
packages:
|
packages:
|
||||||
- go
|
- go
|
||||||
- python3-dev
|
- python3-dev
|
||||||
|
- tar
|
||||||
|
- xz
|
||||||
tasks:
|
tasks:
|
||||||
- go-get: |
|
- go-get: |
|
||||||
cd hswro-alarm-bot
|
cd hswro-alarm-bot
|
||||||
|
@ -31,9 +33,8 @@ tasks:
|
||||||
- build-arm8: |
|
- build-arm8: |
|
||||||
cd hswro-alarm-bot
|
cd hswro-alarm-bot
|
||||||
env GOOS=linux GOARCH=arm64 go build -o alarm_bot.arm8
|
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:
|
artifacts:
|
||||||
- hswro-alarm-bot/alarm_bot.x86-64
|
- hswro-alarm-bot/alarm_bot.tar.xz
|
||||||
- hswro-alarm-bot/alarm_bot.arm5
|
|
||||||
- hswro-alarm-bot/alarm_bot.arm6
|
|
||||||
- hswro-alarm-bot/alarm_bot.arm7
|
|
||||||
- hswro-alarm-bot/alarm_bot.arm8
|
|
||||||
|
|
Loading…
Reference in New Issue