Skip to content

Commit

Permalink
try to fix the publish_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ake2l committed Nov 8, 2024
1 parent 48af174 commit 9132a21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,18 +249,17 @@ jobs:
id-token: write # IMPORTANT: mandatory for trusted publishing https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
contents: read
steps:
- name: Download Build Artifact
- name: Download All Build Artifacts
uses: actions/download-artifact@v4
with:
name: 'dist-files-*'
path: dist

- name: Publish distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
packages: 'dist/*'
packages: 'dist/**'

release:
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 9132a21

Please sign in to comment.