Skip to content

Commit

Permalink
feat: trigger first release on PyPI (#129)
Browse files Browse the repository at this point in the history
* feat: trigger first release on PyPI

* ci: do not run Release job on forks
  • Loading branch information
matteo4diani authored Oct 16, 2023
1 parent c9001ec commit cc21429
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
Release:
needs: Quality
if: |
github.repository == 'autonlab/auton-survival' &&
github.event_name == 'push' &&
github.ref == 'refs/heads/master' &&
!contains ( github.event.head_commit.message, 'chore(release)' )
Expand Down Expand Up @@ -96,7 +97,7 @@ jobs:
poetry config pypi-token.test-pypi $TEST_PYPI_TOKEN
poetry publish -r test-pypi -u __token__
- if: false && steps.release-status.outputs.released == 'true'
- if: steps.release-status.outputs.released == 'true'
name: Release to PyPI
id: pypi-release
env:
Expand Down

0 comments on commit cc21429

Please sign in to comment.