post release event

This commit is contained in:
Ben Hirschberg
2021-10-03 22:06:27 +03:00
parent 4f07d23dd6
commit 0d75a273f0
+12 -1
View File
@@ -21,7 +21,7 @@ jobs:
with:
tag_name: v1.0.${{ github.run_number }}
release_name: Release v1.0.${{ github.run_number }}
draft: false
draft: true
prerelease: false
build:
name: Create cross-platform release build, tag and upload binaries
@@ -56,3 +56,14 @@ jobs:
asset_path: build/${{ matrix.os }}/kubescape
asset_name: kubescape-${{ matrix.os }}
asset_content_type: application/octet-stream
post:
name: Publish release
runs-on: ubuntu-latest
steps:
- name: Publish release
uses: StuYarrow/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
id: ${{ once.steps.create_release.outputs.id }}