Skip to content

Commit

Permalink
DROP COMMIT: check it works
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Sep 6, 2024
1 parent 36c72e7 commit 7a2f6cf
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
if: ${{ ( startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/tags/') ) }}
# if: ${{ ( startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/tags/') ) }}
with:
name: dist-${{ matrix.conf.os }}-${{ matrix.python-version }}-${{ matrix.conf.target-triple }}-${{ matrix.conf.target }}
path: dist
Expand All @@ -279,7 +279,7 @@ jobs:

pypi-publish:
name: Upload release to PyPI
if: startsWith(github.ref, 'refs/tags/')
# if: startsWith(github.ref, 'refs/tags/')
strategy:
fail-fast: false
runs-on: ubuntu-latest
Expand All @@ -293,15 +293,15 @@ jobs:
- uses: actions/download-artifact@v4
- name: List artifacts
run: ls -lhs
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
packages-dir: ./
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# skip-existing: true
# packages-dir: ./

gh-publish:
name: Publish artifacts to GH
if: startsWith(github.ref, 'refs/tags/')
# if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
needs: [build-test, build-sdist]
Expand All @@ -310,7 +310,7 @@ jobs:
- uses: actions/download-artifact@v4
- name: List artifacts
run: ls -lhs
- name: Upload to GitHub
uses: softprops/action-gh-release@v2
with:
files: ./*
# - name: Upload to GitHub
# uses: softprops/action-gh-release@v2
# with:
# files: ./*

0 comments on commit 7a2f6cf

Please sign in to comment.