Skip to content

Commit

Permalink
chore: test (WOULD FAIL) if passing -r works
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Aug 30, 2024
1 parent aea87cd commit 9923e09
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cibuildwheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
pip install --upgrade build
python -m build --sdist
- name: Check built artifacts
run: |
tools/check_dist.py ${{ github.event_name != 'release' && format('-r {0}', github.ref) || '' }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -140,7 +144,7 @@ jobs:

- name: Check collected artifacts
run: |
tools/check_dist.py -d dist/ ${{ github.event_name == 'release' && format('-r {0}', github.ref) || '' }}
tools/check_dist.py ${{ github.event_name == 'release' && format('-r {0}', github.ref) || '' }}
- name: Upload sdist to release
uses: AButler/upload-release-assets@v2.0
Expand Down Expand Up @@ -190,7 +194,7 @@ jobs:

- name: Check collected artifacts
run: |
tools/check_dist.py -d dist/ ${{ github.event_name == 'release' && format('-r {0}', github.ref) || '' }}
tools/check_dist.py ${{ github.event_name == 'release' && format('-r {0}', github.ref) || '' }}
- name: Publish wheels to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 9923e09

Please sign in to comment.