Skip to content

Remove needs

Remove needs #22

name: Publish a release to TestPyPI
on:
push:
branches: [ test-release ]
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
# the tests must pass before release is to be made
test:
name: Run unit tests on a branch
uses: avstack-lab/workflows/.github/workflows/test_on_branch_with_uv.yml@main
with:
branch: $BRANCH_NAME
os: ubuntu-22.04
python-versions: "3.10"
# now we run the publishing protocol
publish:
name: Run publishing protocol
# needs: test
uses: avstack-lab/workflows/.github/workflows/publish_to_index.yml@main

Check failure on line 24 in .github/workflows/publish_to_test_pypi.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_to_test_pypi.yml

Invalid workflow file

error parsing called workflow ".github/workflows/publish_to_test_pypi.yml" -> "avstack-lab/workflows/.github/workflows/publish_to_index.yml@main" (source branch with sha:3006a3a6f08fb71652a0e53d98d069206c1ade9b) : the `uses' attribute must be a path, a Docker image, or owner/repo@ref
with:
os: ubuntu-22.04
python-version: "3.10"
uv-version: "0.6.14"
token: ${{ secrets.TESTPYPI_API_TOKEN }}
index: "testpypi"