Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update release.yml
  • Loading branch information
khmyznikov authored Jul 3, 2025
commit 49fc7ae459f2d81d6f3e5428b53a7fa0bbc0bf7b
58 changes: 31 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,21 @@ jobs:
fail-fast: false
matrix:
include:
- os: windows-2019
arch: x86
msvc_arch: x86
- os: windows-2019
# - os: windows-2022
# arch: x86
# msvc_arch: x86
- os: windows-2022
arch: AMD64
msvc_arch: x64
- os: macos-13
arch: x86_64
cmake_osx_architectures: x86_64
- os: macos-14
arch: arm64
cmake_osx_architectures: arm64
- os: windows-11-arm
arch: ARM64
msvc_arch: ARM64
# - os: macos-13
# arch: x86_64
# cmake_osx_architectures: x86_64
# - os: macos-14
# arch: arm64
# cmake_osx_architectures: arm64

steps:
- name: Checkout source
Expand Down Expand Up @@ -224,26 +227,27 @@ jobs:
retention-days: 5
compression-level: 0

nightly_upload:
name: Upload nightly wheels
needs: [build_sdist, build_wheels_linux, build_wheels_mac_win]
runs-on: ubuntu-latest
if: github.repository == 'shapely/shapely' && github.ref == 'refs/heads/main'
steps:
- uses: actions/download-artifact@v4
with:
pattern: release-*
merge-multiple: true
path: dist
- name: Upload wheels to Anaconda Cloud
uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf # 0.6.2
with:
artifacts_path: dist
anaconda_nightly_upload_token: ${{secrets.ANACONDA_ORG_UPLOAD_TOKEN}}
# nightly_upload:
# name: Upload nightly wheels
# needs: [build_sdist, build_wheels_linux, build_wheels_mac_win]
# runs-on: ubuntu-latest
# if: github.repository == 'shapely/shapely' && github.ref == 'refs/heads/main'
# steps:
# - uses: actions/download-artifact@v4
# with:
# pattern: release-*
# merge-multiple: true
# path: dist
# - name: Upload wheels to Anaconda Cloud
# uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf # 0.6.2
# with:
# artifacts_path: dist
# anaconda_nightly_upload_token: ${{secrets.ANACONDA_ORG_UPLOAD_TOKEN}}

publish:
name: Publish on GitHub and PyPI
needs: [build_sdist, build_wheels_linux, build_wheels_mac_win]
# needs: [build_sdist, build_wheels_linux, build_wheels_mac_win]
needs: [build_sdist, build_wheels_mac_win]
runs-on: ubuntu-latest
# release on every tag
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
Expand Down