Skip to content

Commit

Permalink
Do not upload to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiliin committed Oct 12, 2024
1 parent f97765f commit 07361fc
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ jobs:
CIBW_BUILD: ${{ matrix.build == '' && 'cp313-*' || matrix.build }}
CIBW_ARCHS: ${{ matrix.archs == '' && 'auto' || matrix.archs }}

- name: Upload wheels to artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: cppbinder-wheels-${{ matrix.os }}-${{ github.event_name == 'release' && github.ref_name || github.sha }}
path: ./wheelhouse/*.whl

- name: Upload wheels to release
if: always() && github.event_name == 'release'
shell: bash
Expand All @@ -108,12 +101,6 @@ jobs:
pipx run build --sdist --outdir dist
working-directory: python

- name: Upload source distribution to artifacts
uses: actions/upload-artifact@v4
with:
name: cppbinder-sdist-${{ github.event_name == 'release' && github.ref_name || github.sha }}
path: ./python/dist/*.tar.gz

- name: Upload source distribution to release
run: |
gh release upload ${{ github.ref_name }} ./python/dist/*.tar.gz --clobber
Expand Down

0 comments on commit 07361fc

Please sign in to comment.