CI: add an automated github releases on new tags

Creates a `gh-release.yml` that runs on every new tag using the [`ncipollo/release-action`](https://github.com/ncipollo/release-action),
which is one of the recommended actions after [GitHub's official `actions/create-release`](https://github.com/actions/create-release) was archived.

fix: remove the write permissions
This commit is contained in:
Einherjar 2023-09-08 05:20:33 -04:00
parent f8d7bcfce2
commit c34c709681
No known key found for this signature in database
GPG Key ID: E7ED7E35F072CA83
1 changed files with 15 additions and 0 deletions

15
.github/workflows/gh-release.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: GitHub Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true