|
|
@ -11,9 +11,9 @@ steps: |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- go get github.com/reujab/wallpaper |
|
|
|
- go get github.com/reujab/wallpaper |
|
|
|
- go vet -v |
|
|
|
- go vet -v |
|
|
|
- GOOS="linux" go build -ldflags="-w -s -x main.api_key=${NASA_TOKEN}" -o SpaceFace-Linux |
|
|
|
- GOOS="linux" go build -ldflags="-w -s -x main.api_key $(NASA_TOKEN)" -o SpaceFace-Linux |
|
|
|
- GOOS="windows" go build -ldflags="-w -s -x main.api_key=${NASA_TOKEN}" -o SpaceFace-Win.exe |
|
|
|
- GOOS="windows" go build -ldflags="-w -s -x main.api_key $(NASA_TOKEN)" -o SpaceFace-Win.exe |
|
|
|
- GOOS="darwin" go build -ldflags="-w -s -x main.api_key=${NASA_TOKEN}" -o SpaceFace-macOS |
|
|
|
- GOOS="darwin" go build -ldflags="-w -s -x main.api_key $(NASA_TOKEN)" -o SpaceFace-macOS |
|
|
|
- name: gitea_release |
|
|
|
- name: gitea_release |
|
|
|
image: plugins/gitea-release |
|
|
|
image: plugins/gitea-release |
|
|
|
settings: |
|
|
|
settings: |
|
|
|