diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 498c7765..00481b6b 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -27,17 +27,17 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest + - runner: ubuntu-20.04 target: x86_64 - - runner: ubuntu-latest + - runner: ubuntu-20.04 target: x86 - - runner: ubuntu-latest + - runner: ubuntu-20.04 target: aarch64 - - runner: ubuntu-latest + - runner: ubuntu-20.04 target: armv7 -# - runner: ubuntu-latest +# - runner: ubuntu-20.04 # target: s390x -# - runner: ubuntu-latest +# - runner: ubuntu-20.04 # target: ppc64le python-version: [ '3.8', '3.9', '3.10', '3.11','3.12' ] steps: @@ -93,23 +93,6 @@ jobs: name: wheels-windows-${{ matrix.platform.target }}-py${{ matrix.python-version }} path: dist - # sdist: - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - name: Change Directory - # run: cd bindings/ceylon - # - name: Build sdist - # uses: PyO3/maturin-action@v1 - # with: - # command: sdist - # args: --out dist -m bindings/ceylon/Cargo.toml - # - name: Upload sdist - # uses: actions/upload-artifact@v4 - # with: - # name: wheels-sdist - # path: dist - macos: if: "startsWith(github.ref, 'refs/tags/')" runs-on: ${{ matrix.platform.runner }} @@ -141,22 +124,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: wheels-macos-${{ matrix.platform.target }}-py${{ matrix.python-version }} - path: dist - release: - name: Release - runs-on: ubuntu-latest - needs: [ linux,windows,macos ] - steps: - - uses: actions/download-artifact@v3 - with: - name: wheels - - uses: actions/setup-python@v4 - with: - python-version: 3.x - - name: Publish to PyPi - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - pip install --upgrade twine - twine upload --skip-existing * \ No newline at end of file + path: dist \ No newline at end of file diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index c6b0caa8..6568a567 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -15,7 +15,7 @@ on: jobs: release: name: Ceylon-Release-Python - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 if: > github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.head_branch, 'refs/tags/')