From 84dd668632110539f4386e23fcf79fb7a67e506f Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Mon, 7 Feb 2022 13:21:04 +0100 Subject: [PATCH] Update `package.yml` to create a new release on GitHub --- .github/workflows/package.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 9afb05be..6e6903a4 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -129,3 +129,17 @@ jobs: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} skip_existing: false + + release: + environment: GitHub Releases + runs-on: ubuntu-latest + if: "startsWith(github.ref, 'refs/tags/v')" + name: Release + needs: upload + steps: + - name: Checkout code + uses: actions/checkout@v1 + - name: Release a Changelog + uses: rasmus-saks/release-a-changelog-action@v1.0.1 + with: + github-token: '${{ secrets.GITHUB_TOKEN }}'