diff --git a/.drone.yml b/.drone.yml index d228748..37979ba 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,10 +7,6 @@ trigger: event: - tag -platform: - os: linux - arch: arm64 - volumes: - name: cache temp: {} @@ -27,11 +23,11 @@ steps: path: /drone/src/out commands: - cd /drone/src - - go build -o out/wifi cmd/wifi/wifi.go - - go build -o out/inotify cmd/inotify/inotify.go - - go build -o out/gui cmd/gui/gui.go - - go build -o out/fan cmd/fan/fan.go - - go build -o out/hdmi cmd/hdmi/hdmi.go + - env GOOS=linux GOARCH=arm64 go build -o out/wifi cmd/wifi/wifi.go + - env GOOS=linux GOARCH=arm64 go build -o out/inotify cmd/inotify/inotify.go + - env GOOS=linux GOARCH=arm64 go build -o out/gui cmd/gui/gui.go + - env GOOS=linux GOARCH=arm64 go build -o out/fan cmd/fan/fan.go + - env GOOS=linux GOARCH=arm64 go build -o out/hdmi cmd/hdmi/hdmi.go - cp CHANGELOG.md out/ - name: gitea-release image: plugins/gitea-release