Skip to content

Commit

Permalink
deploy.yml: Upgrade versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wannesm committed Jun 19, 2024
1 parent 23628b7 commit 13e03dc
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
# cibuildwheel will automatically provide all Python versions
# python-version: [ "3.9" ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install cibuildwheel==2.3.1
python -m pip install cibuildwheel==2.19.1
- name: Build wheel
run: |
pwd
Expand All @@ -42,7 +42,7 @@ jobs:
CIBW_TEST_EXTRAS: "dev"
CIBW_TEST_COMMAND: python -m pytest --ignore=venv {project}/tests
- name: Store wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist/*.whl
Expand All @@ -57,9 +57,9 @@ jobs:
os: [ macos-12, macos-13, macos-14 ]
python-version: ["3.8","3.9","3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -80,7 +80,7 @@ jobs:
run: |
python -m build
- name: Store wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist/*.whl
Expand All @@ -94,10 +94,10 @@ jobs:
os: [ windows-2019, windows-2022 ]
python-version: ["3.8","3.9","3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
id: setuppython
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -115,7 +115,7 @@ jobs:
cp ${{ github.workspace }}/pysdd/lib/libsdd-2.0/build/sdd.dll ${{ github.workspace }}/pysdd/
cp ${{ github.workspace }}/pysdd/lib/libsdd-2.0/build/sdd.lib ${{ github.workspace }}/pysdd/lib/sdd-2.0/lib/Windows/
- name: Store pysdd library
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: library
path: ${{ github.workspace }}/pysdd/lib/libsdd-2.0/build/sdd.dll
Expand All @@ -132,7 +132,7 @@ jobs:
run: |
python -m build
- name: Store wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist/*.whl
Expand All @@ -142,17 +142,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Build
run: |
python -m pip install build
python -m build --sdist
- name: Store artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist/*.tar.gz
Expand All @@ -166,7 +166,7 @@ jobs:
needs: [ build_unix,build_macos,build_windows,build_sdist ]

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: wheels
path: dist
Expand Down

0 comments on commit 13e03dc

Please sign in to comment.