Skip to content

Merge branch 'master' of github.com:MDAnalysis/MDAnalysisData #1

Merge branch 'master' of github.com:MDAnalysis/MDAnalysisData

Merge branch 'master' of github.com:MDAnalysis/MDAnalysisData #1

Workflow file for this run

name: Build and upload to PyPi
on:
push:
tags:
- "*"
release:
types:
- published
jobs:
testpypi_push:
environment:
name: deploy
url: https://test.pypi.org/p/MDAnalysisData
permissions:
id-token: write
if: |

Check failure on line 18 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Build and upload to PyPi

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 18, Col: 9): Unexpected end of expression: ')'. Located at position 120 within expression: github.repository == 'MDAnalysis/MDAnalysisData' && (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
github.repository == 'MDAnalysis/MDAnalysisData' &&
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
name: Build, upload and test pure Python wheels to TestPypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: testpypi_deploy
uses: MDAnalysis/pypi-deployment@main
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
test_submission: true
package_name: MDAnalysisData
module_name: 'MDAnalysisData'
pypi_push:
environment:
name: deploy
url: https://pypi.org/p/MDAnalysisData
permissions:
id-token: write
if: |
github.repository == 'MDAnalysis/MDAnalysisData' &&
(github.event_name == 'release' && github.event.action == 'published')
name: Build, upload and test pure Python wheels to PyPi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: pypi_deploy
uses: MDAnalysis/pypi-deployment@main
if: github.event_name == 'release' && github.event.action == 'published'
with:
package_name: MDAnalysisData
module_name: 'MDAnalysisData'