diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 895913e..2f6f4e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,8 @@ jobs: - name: Check metadata renders on PyPI run: uvx twine check dist/* - uses: actions/upload-artifact@v4 + if: github.event_name == 'push' with: name: dist path: dist/ + retention-days: 7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0fdebb..2ecd7d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: with: name: dist path: dist/ + retention-days: 1 publish: needs: build