We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396ca75 commit b9c92c7Copy full SHA for b9c92c7
1 file changed
.github/workflows/CI.yaml
@@ -80,3 +80,16 @@ jobs:
80
if: runner.os == 'Linux'
81
run: |
82
CodeEntropyPoseidon -f "CodeEntropy/tests/data/1AKI_prod_60.tpr" "CodeEntropy/tests/data/1AKI_prod_60.trr" -l "protein" -b 2 -e 12 -d 2 -t 2 --wm --res --uatom --topog 5 --solwm --solres --soluatom --solContact
83
+
84
+ publish:
85
+ name: Publish to pypi if tagged
86
+ runs-on: ubuntu-latest
87
+ steps:
88
+ - uses: actions/checkout@v2
89
+ - uses: actions/setup-python@v2
90
+ - uses: casperdcl/deploy-pypi@v2
91
+ with:
92
+ password: ${{ secrets.PYPI_API_TOKEN }}
93
+ pip: wheel -w dist/ --no-deps .
94
+ # only upload if a tag is pushed (otherwise just build & check)
95
+ upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
0 commit comments