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