Skip to content

Commit

Permalink
add sensu release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jsadowyj committed Feb 14, 2024
1 parent a842bce commit 4940635
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 138 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/create-release-pr.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/release.yml
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"
94 changes: 0 additions & 94 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 4940635

Please sign in to comment.