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:
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue