Skip to content

Commit

Permalink
chore: update actions from deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
AngRodrigues committed Dec 5, 2024
1 parent 4ce6d7d commit add4692
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

pypi-build-sdist:
name: Build SDist
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -58,7 +58,7 @@ jobs:
pypi-test-sdist:
name: Test sdist
needs: pypi-build-sdist
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Install GDAL
run: |
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -118,10 +118,10 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-24.04
include:
- os: "ubuntu-latest"
artifact: map2loop-wheels-ubuntu-latest
- os: "ubuntu-24.04"
artifact: map2loop-wheels-ubuntu-24.04

steps:
- name: Checkout
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-24.04
# - macos-latest # currently not supported because needs libgcc>= 14 and not available for macos-latest (version available is 4.x.x)
- windows-latest
python-version: ["3.9", "3.10", "3.11", "3.12"]
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:

release-please:
needs: [pypi-test-wheels, conda-build]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
Expand All @@ -232,7 +232,7 @@ jobs:
#if a release is created then run the deploy scripts for github.io, conda, pypi and docker

documentation-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -247,7 +247,7 @@ jobs:
path: docs/build/html

documentation-deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [release-please, documentation-test]
if: ${{ needs.release-please.outputs.release_created }} && github.ref == 'refs/heads/master'

Expand All @@ -274,7 +274,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-24.04
# - macos-latest
- windows-latest
python-version: ["3.9", "3.10", "3.11", "3.12"]
Expand All @@ -300,7 +300,7 @@ jobs:
needs: [pypi-test-wheels]
if: github.ref == 'refs/heads/master'
runs-on:
- ubuntu-latest
- ubuntu-24.04 # https://github.com/actions/runner-images/issues/10636
# if: ${{ needs.release-please.outputs.release_created }}
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
Expand Down

0 comments on commit add4692

Please sign in to comment.