2023-11-05 20:17:35 -06:00
|
|
|
kind: pipeline
|
|
|
|
|
name: default
|
|
|
|
|
|
|
|
|
|
# Limits how many of these builds can run on the drone runner at a time, this isn't about cores
|
|
|
|
|
concurrency:
|
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
|
|
steps:
|
2023-11-05 20:19:20 -06:00
|
|
|
- name: build-release
|
2023-11-05 20:34:14 -06:00
|
|
|
image: akkadius/wails:v2.0.3
|
2023-11-05 20:17:35 -06:00
|
|
|
environment:
|
|
|
|
|
GH_RELEASE_GITHUB_API_TOKEN:
|
|
|
|
|
from_secret: GH_RELEASE_GITHUB_API_TOKEN
|
|
|
|
|
commands:
|
|
|
|
|
- sudo chown -R go /drone/src
|
|
|
|
|
- sudo chown -R go /home/go/pkg
|
2023-11-05 20:54:55 -06:00
|
|
|
- make ci-build
|
2023-11-05 20:17:35 -06:00
|
|
|
when:
|
2023-11-05 20:19:01 -06:00
|
|
|
branch: [ "main" ]
|
|
|
|
|
event: [ push ]
|
2023-11-05 20:42:09 -06:00
|
|
|
|