-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github actions to run yaml lint checks
- Loading branch information
Showing
2 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
name: Go CI and Release | ||
|
||
on: | ||
|
@@ -12,4 +13,4 @@ on: | |
|
||
jobs: | ||
build: | ||
uses: TheCacophonyProject/github-actions-templates/.github/workflows/[email protected].1 | ||
uses: TheCacophonyProject/github-actions-templates/.github/workflows/[email protected].2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
project_name: thermal-uploader | ||
|
||
version: 2 | ||
|
@@ -8,32 +9,32 @@ release: | |
name: thermal-uploader | ||
name_template: '{{.Tag}}' | ||
builds: | ||
- goos: | ||
- linux | ||
goarch: | ||
- arm | ||
- arm64 | ||
goarm: | ||
- "7" | ||
main: ./cmd/thermal-uploader | ||
ldflags: -s -w -X main.version={{.Version}} | ||
binary: thermal-uploader | ||
- goos: | ||
- linux | ||
goarch: | ||
- arm | ||
- arm64 | ||
goarm: | ||
- "7" | ||
main: ./cmd/thermal-uploader | ||
ldflags: -s -w -X main.version={{.Version}} | ||
binary: thermal-uploader | ||
|
||
nfpms: | ||
- vendor: The Cacophony Project | ||
homepage: http://cacophony.org.nz/ | ||
maintainer: Cacophony Developers <[email protected]> | ||
description: Upload thermal video footage to Cacophony Project API server | ||
license: GPL v3.0 | ||
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}" | ||
formats: | ||
- deb | ||
bindir: /usr/bin | ||
contents: | ||
- src: _release/thermal-uploader.service | ||
dst: /etc/systemd/system/thermal-uploader.service | ||
scripts: | ||
postinstall: "_release/postinstall.sh" | ||
- vendor: The Cacophony Project | ||
homepage: http://cacophony.org.nz/ | ||
maintainer: Cacophony Developers <[email protected]> | ||
description: Upload thermal video footage to Cacophony Project API server | ||
license: GPL v3.0 | ||
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}" | ||
formats: | ||
- deb | ||
bindir: /usr/bin | ||
contents: | ||
- src: _release/thermal-uploader.service | ||
dst: /etc/systemd/system/thermal-uploader.service | ||
scripts: | ||
postinstall: "_release/postinstall.sh" | ||
checksum: | ||
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' | ||
dist: dist |