34 lines
689 B
YAML
34 lines
689 B
YAML
|
|
# - go_build:
|
|
# repo: "git.intermodi.ch/p3ls/test"
|
|
# targets:
|
|
# - linux/amd64
|
|
# - linux/arm
|
|
# - linux/arm64
|
|
# - darwin/arm64
|
|
# - darwin/amd64
|
|
# - windows/amd64
|
|
|
|
- import_tasks: ../git/push.yml
|
|
|
|
- go_build:
|
|
repo: "git.intermodi.ch/p3ls/test"
|
|
version: "{{ repo.tag }}"
|
|
commit: "{{ repo.commit }}"
|
|
targets:
|
|
- linux/amd64
|
|
- darwin/arm64
|
|
- windows/amd64
|
|
binary: foobar
|
|
register: bin
|
|
|
|
- release_create:
|
|
repo: "git.intermodi.ch/p3ls/test"
|
|
files: "{{ bin }}"
|
|
# paths:
|
|
# - test.txt
|
|
# - t1/test.txt
|
|
# - t2/test.txt
|
|
# - html
|
|
path: test.txt
|
|
push: true |