Skip to content

action typos

action typos #123

Workflow file for this run

name: Publish Python distribution to PyPI and TestPyPI
on: push
jobs:
build-wheel:
name: Publish Python distribution to PyPI and TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: install check-wheel-contents
run: >-
python3 -m
pip install
check-wheel-contents
- name: check wheel
run: >-
check-wheel-contents
dist/*.whl
- uses actions/upload-artifact@release/latest
with:

Check failure on line 37 in .github/workflows/pypublish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pypublish.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
path: ./dist/*
upload_pypi:
needs: build-wheel
name: Publish distribution to TestPyPI and PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/UncertainSCI
permissions:
id-token: write
if: startsWith(github.event.ref, 'refs/tags')
steps:
- uses: actions/download-artifact@release/latest
with:
name: artifact
path: dist
- name: Upload to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository_url: https://test.pypi.org/legacy/
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@release/v1