Skip to content

Test build in CI & prepare release 0.5.1 #332

Test build in CI & prepare release 0.5.1

Test build in CI & prepare release 0.5.1 #332

Workflow file for this run

on:
pull_request:
release:
types:
- published
name: release
jobs:
upload-testpypi:

Check failure on line 10 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
needs: [python-build]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment:
name: test_release
url: https://test.pypi.org/p/ivmodels
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: wheels
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
upload-pypi:
needs: [python-build, upload-testpypi]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment:
name: release
url: https://pypi.org/p/ivmodels
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: wheels
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1