Skip to content

Workflow for publishing to TestPyPI #4

Workflow for publishing to TestPyPI

Workflow for publishing to TestPyPI #4

name: Publish to TestPyPI

Check failure on line 1 in .github/workflows/publish-to-testpypi.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-to-testpypi.yaml

Invalid workflow file

(Line: 21, Col: 9): A mapping was not expected
on:
workflow_dispatch:
inputs:
version:
description: 'Version name for release'
required: true
jobs:
publish:
name: Publish wheel to TestPyPI
permissions:
contents: write
id-token: write # For trusted publishing
uses: .github/workflows/publish-reusable.yml@main
with:
version: ${{ inputs.version }}
repository_url: https://test.pypi.org/legacy/
environment:
name: testpypi
url: https://test.pypi.org/p/seclab-taskflow-agent2
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}