diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 480a9f4..3287c5e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -6,7 +6,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Upload to PyPI +name: Publish on: release: @@ -51,6 +51,17 @@ jobs: - name: Test with pytest run: poetry run pytest -m "not skip_ci" tests + + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3.1.2 + with: + # Artifact name + name: "pip package" + # A file, directory or wildcard pattern that describes what to upload + path: "dist/*" + # The desired behavior if no files are found using the provided path. + if-no-files-found: error - name: Publish to PyPI