Skip to content

Commit 4940635

Browse files
committed
add sensu release.yml
1 parent a842bce commit 4940635

File tree

3 files changed

+26
-138
lines changed

3 files changed

+26
-138
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Sensu Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Build Go check plugins
17+
run: make build
18+
- name: Rename build directory
19+
run: mv build bin
20+
- name: Create tar archive of build directory
21+
run: tar -czpvf sensu-go-check-plugins.tar.gz bin/
22+
- name: Generate SHA512 sum of archive
23+
run: sha512sum sensu-go-check-plugins.tar.gz > sha512sum.txt
24+
- uses: ncipollo/release-action@v1
25+
with:
26+
artifacts: "sensu-go-check-plugins.tar.gz,sha512sum.txt"

.github/workflows/test.yml

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)