Skip to content

Commit

Permalink
Test release to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy-Grigg committed Feb 20, 2024
1 parent aaac3af commit 564d792
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ jobs:
python-version: ${{ env.MAIN_PYTHON_VERSION }}

release:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
name: "Release"
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
needs: [build-library]
runs-on: ubuntu-latest
steps:
Expand All @@ -185,11 +186,13 @@ jobs:
library-name: ${{ env.LIBRARY_NAME }}
twine-username: "__token__"
twine-token: ${{ secrets.PYPI_TOKEN }}
dry-run: "true"

- uses: ansys/actions/release-github@v5
name: "Release to GitHub"
with:
library-name: ${{ env.LIBRARY_NAME }}
dry-run: "true"

doc-deploy-stable:
name: "Deploy stable documentation"
Expand Down

0 comments on commit 564d792

Please sign in to comment.