Skip to content

Commit

Permalink
update GH actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrohwer committed Feb 15, 2024
1 parent 9013f83 commit a51211a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-conda.yml
Expand Up @@ -49,7 +49,7 @@ jobs:
if: matrix.os == 'windows-latest'
run: conda mambabuild --no-anaconda-upload --output-folder ./build_output ./packaging/conda-win

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build_outputs
path: ./build_output/*/pysces*.tar.bz2
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/cibuildwheel.yml
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-12]
os: [windows-latest, macos-12]
# os: [ubuntu-latest, windows-latest, macos-12]

steps:
- uses: actions/checkout@v4
Expand All @@ -23,9 +24,9 @@ jobs:
choco install rtools -y --no-progress --force --version=4.0.0.20220206
- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.16.5

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels_and_tarball
path: ./wheelhouse/*.whl
Expand All @@ -34,9 +35,9 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.11'
Expand All @@ -46,7 +47,7 @@ jobs:
pip install build
python -m build -s .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels_and_tarball
path: dist/*.tar.gz
Expand All @@ -57,7 +58,7 @@ jobs:
# to publish when a GitHub Release is created:
if: github.event_name == 'release' && github.event.action == 'released'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels_and_tarball
path: dist
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Expand Up @@ -72,7 +72,8 @@ download = "https://github.com/PySCeS/pysces/releases"
tracker = "https://github.com/PySCeS/pysces/issues"

[tool.cibuildwheel]
build = "cp312-* cp311-* cp310-* cp39-*"
build = "cp312-* cp311-*"
#build = "cp312-* cp311-* cp310-* cp39-*"
skip = "*musllinux* pp*"
build-verbosity = "3"
test-command = "python -s -c \"import pysces; pysces.test(3)\""
Expand Down

0 comments on commit a51211a

Please sign in to comment.