Skip to content

Commit

Permalink
Update workflow release
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Aug 13, 2024
1 parent 7e453f7 commit cd2d9f7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 102 deletions.
94 changes: 0 additions & 94 deletions .github/workflows/pypi-release.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@


# This file is autogenerated by maturin v1.5.1
# To update, run
#
# maturin generate-ci github
#
name: Ceylon-Build-Python
name: Ceylon-Build-Release-PyPi

on:
push:
Expand Down Expand Up @@ -35,10 +33,10 @@ jobs:
target: aarch64
- runner: ubuntu-20.04
target: armv7
# - runner: ubuntu-20.04
# target: s390x
# - runner: ubuntu-20.04
# target: ppc64le
# - runner: ubuntu-20.04
# target: s390x
# - runner: ubuntu-20.04
# target: ppc64le
python-version: [ '3.8', '3.9', '3.10', '3.11','3.12' ]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -124,4 +122,20 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}-py${{ matrix.python-version }}
path: dist
path: dist
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ macos, windows, linux, sdist ]
steps:
- uses: actions/download-artifact@v4
with:
name: wheels
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing *

0 comments on commit cd2d9f7

Please sign in to comment.