Release: stop pushing Python and JS artifact to GitHub release

They are already in NPM and PyPi
pull/402/head
Tpt 2 years ago committed by Thomas Tanon
parent c8caf805fa
commit af02d5e1c4
  1. 18
      .github/workflows/release.yml

@ -93,9 +93,6 @@ jobs:
user: __token__ user: __token__
password: ${{ secrets.PYPI_PASSWORD }} password: ${{ secrets.PYPI_PASSWORD }}
packages_dir: target/wheels packages_dir: target/wheels
- uses: softprops/action-gh-release@v1
with:
files: target/wheels/*.whl
publish_pypi_linux_musl: publish_pypi_linux_musl:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -118,9 +115,6 @@ jobs:
user: __token__ user: __token__
password: ${{ secrets.PYPI_PASSWORD }} password: ${{ secrets.PYPI_PASSWORD }}
packages_dir: target/wheels packages_dir: target/wheels
- uses: softprops/action-gh-release@v1
with:
files: target/wheels/*.whl
publish_pypi_mac: publish_pypi_mac:
runs-on: macos-latest runs-on: macos-latest
@ -144,9 +138,6 @@ jobs:
working-directory: ./python working-directory: ./python
- run: maturin publish --no-sdist -m python/Cargo.toml --features abi3 -u __token__ -p ${{ secrets.PYPI_PASSWORD }} - run: maturin publish --no-sdist -m python/Cargo.toml --features abi3 -u __token__ -p ${{ secrets.PYPI_PASSWORD }}
- run: maturin publish --no-sdist --target aarch64-apple-darwin -m python/Cargo.toml --features abi3 -u __token__ -p ${{ secrets.PYPI_PASSWORD }} - run: maturin publish --no-sdist --target aarch64-apple-darwin -m python/Cargo.toml --features abi3 -u __token__ -p ${{ secrets.PYPI_PASSWORD }}
- uses: softprops/action-gh-release@v1
with:
files: target/wheels/*.whl
publish_pypi_windows: publish_pypi_windows:
runs-on: windows-latest runs-on: windows-latest
@ -166,9 +157,6 @@ jobs:
- run: python generate_stubs.py pyoxigraph pyoxigraph.pyi --black - run: python generate_stubs.py pyoxigraph pyoxigraph.pyi --black
working-directory: ./python working-directory: ./python
- run: maturin publish --no-sdist -m python/Cargo.toml --features abi3 -u __token__ -p ${{ secrets.PYPI_PASSWORD }} - run: maturin publish --no-sdist -m python/Cargo.toml --features abi3 -u __token__ -p ${{ secrets.PYPI_PASSWORD }}
- uses: softprops/action-gh-release@v1
with:
files: target/wheels/*.whl
publish_pypi_stdist: publish_pypi_stdist:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -192,9 +180,6 @@ jobs:
user: __token__ user: __token__
password: ${{ secrets.PYPI_PASSWORD }} password: ${{ secrets.PYPI_PASSWORD }}
packages_dir: target/wheels packages_dir: target/wheels
- uses: softprops/action-gh-release@v1
with:
files: target/wheels/*.tar.gz
publish_npm: publish_npm:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -216,9 +201,6 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run pack - run: npm run pack
working-directory: ./js working-directory: ./js
- uses: softprops/action-gh-release@v1
with:
files: js/*.tgz
publish_full_archive: publish_full_archive:
runs-on: ubuntu-latest runs-on: ubuntu-latest

Loading…
Cancel
Save