From 76b1c19fd76aeffb7f9f1c764885ebfa51d5b1c7 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Wed, 21 Dec 2022 23:03:03 +0100 Subject: [PATCH] ci: publish GitHub release as well (#35) --- .github/workflows/release.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6f98691..c32c276 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ on: tags: - "v[0-9]+.[0-9]+.[0-9]+" jobs: - release: + pypi_release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -19,3 +19,11 @@ jobs: with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} + gh_release: + runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v3 + - run: | + gh release create ${{ github.ref_name }} --generate-notes