Skip to content

Commit

Permalink
(chore): update to upload-artifact@v4 (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul authored Dec 21, 2024
1 parent ee9bf84 commit d7774d7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- run: mvn -B package --file pom.xml -DskipTests
- run: mkdir staging && cp target/*jar-with-dependencies.jar staging
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: Package
path: staging
18 changes: 9 additions & 9 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [ubuntu-20.04, macos-13, windows-latest]
cibw_archs: ["auto64"]
cibw_build: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
cibw_build: ["cp38", "cp39", "cp310", "cp311", "cp312"]

steps:
- uses: actions/checkout@v3
Expand All @@ -26,7 +26,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.8'
python-version: '3.10'

- name: Install cibuildwheel
run: |
Expand All @@ -36,7 +36,7 @@ jobs:
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_BUILD: ${{ matrix.cibw_build }}-*
CIBW_BUILD_VERBOSITY: 3
CIBW_SKIP: "*musllinux*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
Expand All @@ -58,9 +58,9 @@ jobs:
CIBW_TEST_COMMAND: pytest {project}/tests/

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: filepattern-wheels
name: filepattern-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
path: dist/*.whl
retention-days: 1

Expand All @@ -73,7 +73,7 @@ jobs:
matrix:
os: [macos-13-xlarge]
cibw_archs: ["arm64"]
cibw_build: ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
cibw_build: ["cp39", "cp310", "cp311", "cp312"]

steps:
- uses: actions/checkout@v3
Expand All @@ -95,7 +95,7 @@ jobs:
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_BUILD: ${{ matrix.cibw_build }}-*
CIBW_BUILD_VERBOSITY: 3
CIBW_ARCHS_MACOS: arm64
CIBW_BEFORE_ALL_MACOS: bash ci-utils/install_prereq_linux.sh &&
Expand All @@ -108,8 +108,8 @@ jobs:
CIBW_TEST_COMMAND: pytest {project}/tests/

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: filepattern-wheels-apple-silicon
name: filepattern-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
path: dist/*.whl
retention-days: 1
Binary file removed src/filepattern/libfilepattern.so.2.0.2
Binary file not shown.

0 comments on commit d7774d7

Please sign in to comment.