Skip to content

Trying to make sure only one set of metadata is found for VTK #23

Trying to make sure only one set of metadata is found for VTK

Trying to make sure only one set of metadata is found for VTK #23

Workflow file for this run

name: Releases
on:
push:
tags: [ '*' ]
jobs:
release:
name: Publish release
runs-on: ubuntu-latest
steps:
# see https://github.com/marketplace/actions/download-workflow-artifact
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-wheel.yml
path: wheels
- name: List wheels
run: |
mkdir dist
mv wheels/**/*.whl dist
rm -rf wheels
ls dist
# see https://github.com/marketplace/actions/create-release
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*.whl"
token: ${{ secrets.GITHUB_TOKEN }}
# see https://github.com/marketplace/actions/pypi-publish
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# For releasing to test.pypi.org
# password: ${{ secrets.PYPI_TEST_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/