From c34c709681767581a942dbfc858c554ae1f8f3a9 Mon Sep 17 00:00:00 2001 From: Einherjar Date: Fri, 8 Sep 2023 05:20:33 -0400 Subject: [PATCH] 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 --- .github/workflows/gh-release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/gh-release.yml diff --git a/.github/workflows/gh-release.yml b/.github/workflows/gh-release.yml new file mode 100644 index 00000000..69ea930c --- /dev/null +++ b/.github/workflows/gh-release.yml @@ -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