Skip to content

Commit

Permalink
bump workflow actions and python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
joeljonsson committed Aug 19, 2024
1 parent d5f484b commit f7e00fc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- uses: lukka/get-cmake@latest
# Restore both vcpkg and its artifacts from the GitHub cache service.
- name: Restore vcpkg and its artifacts.
uses: actions/cache@v3
uses: actions/cache@v4
with:
# The first path is where vcpkg generates artifacts while consuming the vcpkg.json manifest file.
# The second path is the location of vcpkg (it contains the vcpkg executable and data files).
Expand Down Expand Up @@ -101,10 +101,10 @@ jobs:
# On Windows runners, let's ensure to have the Developer Command Prompt environment setup correctly. As used here the Developer Command Prompt created is targeting x64 and using the default the Windows SDK.
- uses: ilammy/msvc-dev-cmd@v1

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.9'
python-version: '3.12'

- name: Install cibuildwheel
run: |
Expand All @@ -125,7 +125,7 @@ jobs:
python3 -m cibuildwheel --output-dir ${{matrix.builddir}}
- name: Upload wheels as artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-wheels
path: ${{matrix.builddir}}/
Expand All @@ -139,7 +139,7 @@ jobs:
fail-fast: false
matrix:
os: [ windows-latest ]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: Checkout
Expand All @@ -148,12 +148,12 @@ jobs:
submodules: false

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Download wheels from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.os }}-wheels
path: wheelhouse
Expand Down Expand Up @@ -183,14 +183,14 @@ jobs:
if: contains(github.ref, 'tags')
steps:
- name: Download wheels from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: wheelhouse

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'

- name: Install dependencies
run: |
Expand Down

0 comments on commit f7e00fc

Please sign in to comment.