Skip to content

Test publishing (#22) #1

Test publishing (#22)

Test publishing (#22) #1

Workflow file for this run

name: Test Publish
on:
push:
branches:
- main
env:
PIP_CACHE_DIR: .cache/pip
PRE_COMMIT_HOME: .cache/pre-commit
HATCH_CACHE_DIR: .cache/hatch
HATCH_INDEX_USER: __token__
HATCH_INDEX_REPO: test
HATCH_INDEX_AUTH: ${{ secret.TEST_PYPI_TOKEN }}

Check failure on line 14 in .github/workflows/test-publish.yml

View workflow run for this annotation

GitHub Actions / Test Publish

Invalid workflow file

The workflow is not valid. .github/workflows/test-publish.yml (Line: 14, Col: 21): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.TEST_PYPI_TOKEN
jobs:
test-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
- run: hatch build
- run: hatch publish