CI: Merge to main - fix publish

This commit is contained in:
Luke Tainton 2022-06-25 22:49:32 +01:00
parent f199b65d35
commit 242a78675f
No known key found for this signature in database
GPG Key ID: ABEE10849773E353

View File

@ -45,6 +45,9 @@ jobs:
uses: codecov/codecov-action@v3
build:
needs:
- lint
- test
runs-on: ubuntu-latest
steps:
- name: Check out repository code
@ -70,6 +73,13 @@ jobs:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Create dist folder
run: |
mkdir -p dist
- uses: actions/download-artifact@v3
with:
name: whl
path: dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with: