From a19ce549e11c3cd6ffca75a0263f69b854c6daa9 Mon Sep 17 00:00:00 2001 From: Chris Arderne Date: Mon, 21 Nov 2022 23:00:55 +0000 Subject: [PATCH] Add release to workflow --- .github/workflows/cicd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 14e3263..5de4622 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -73,6 +73,7 @@ jobs: publish: needs: test runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') steps: - name: Checkout repo uses: actions/checkout@v3 @@ -82,6 +83,9 @@ jobs: with: python-version: "3.10" + - name: Release + uses: softprops/action-gh-release@v1 + - name: Build run: | pip install build