Skip to content

Commit

Permalink
[CI] Upgrade upload-artifact to v4 (#1678)
Browse files Browse the repository at this point in the history
* Upgrade upload-artifact to v4

* Upgrade cibuildwheel version

* Trigger CI for python buildWheel
  • Loading branch information
jiayuasu authored Nov 8, 2024
1 parent f8bc4d3 commit 529cb37
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
fi
- run: mkdir staging
- run: cp -r site/* staging/
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: generated-docs
path: staging
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
- run: cp spark-shaded/target/sedona-*.jar staging
- run: |
[ -d "flink-shaded/target/" ] && cp flink-shaded/target/sedona-*.jar staging 2>/dev/null || true
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: generated-jars ${{ matrix.spark }} ${{ matrix.scala }} ${{ matrix.jdk }}
name: generated-jars_spark-${{ matrix.spark }}_scala-${{ matrix.scala }}_jdk-${{ matrix.jdk }}
path: staging
6 changes: 4 additions & 2 deletions .github/workflows/python-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ on:
- 'spark-shaded/**'
- 'pom.xml'
- 'python/**'
- '.github/workflows/python-wheel.yml'

jobs:
build:
Expand All @@ -55,14 +56,15 @@ jobs:
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.20.0
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_SKIP: 'pp* *musl*'
CIBW_ARCHS_LINUX: 'x86_64 aarch64'
CIBW_ARCHS_WINDOWS: 'AMD64 ARM64'
CIBW_ARCHS_MACOS: 'x86_64 arm64'
with:
package-dir: python
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
2 changes: 1 addition & 1 deletion .github/workflows/r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
cd ./R/tests
NOT_CRAN='true' Rscript testthat.R
shell: bash
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: Worker logs
Expand Down

0 comments on commit 529cb37

Please sign in to comment.