forked from mackerelio/go-check-plugins
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
44 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Sensu Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build Go check plugins | ||
run: make build | ||
- name: Rename build directory | ||
run: mv build bin | ||
- name: Create tar archive of build directory | ||
run: tar -czpvf sensu-go-check-plugins.tar.gz bin/ | ||
- name: Generate SHA512 sum of archive | ||
run: sha512sum sensu-go-check-plugins.tar.gz > sha512sum.txt | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "sensu-go-check-plugins.tar.gz,sha512sum.txt" |