Skip to content

Commit b82fb80

Browse files
committed
Set image versions explicitly in workflow
1 parent d67603e commit b82fb80

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix:
2323
package: [basemap_data, basemap_data_hires]
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
steps:
2626
- uses: actions/checkout@v4
2727

@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
matrix:
5151
include:
52-
- os: ubuntu-latest
52+
- os: ubuntu-22.04
5353
arch: x86_64
5454
before_all: >-
5555
echo "Starting BEFORE_ALL script" &&
@@ -70,7 +70,7 @@ jobs:
7070
echo "GEOS_DIR set to: ${GEOS_DIR}" &&
7171
cd "{package}" &&
7272
python -c "import utils; utils.GeosLibrary('${GEOS_VERSION}').build('${GEOS_DIR}', njobs=2)"
73-
- os: windows-latest
73+
- os: windows-2019
7474
arch: x86_64
7575
before_all: >-
7676
echo Starting BEFORE_ALL script &&
@@ -87,7 +87,7 @@ jobs:
8787
python-version: "3.9"
8888

8989
- name: Build sdist
90-
if: matrix.os == 'ubuntu-latest'
90+
if: matrix.os == 'ubuntu-22.04'
9191
run: |
9292
cd packages/basemap
9393
python -m pip install build
@@ -125,7 +125,7 @@ jobs:
125125
check:
126126
name: Check packages
127127
needs: [build_data, build_basemap]
128-
runs-on: ubuntu-latest
128+
runs-on: ubuntu-22.04
129129
steps:
130130
- uses: actions/download-artifact@v4
131131
with:
@@ -147,7 +147,7 @@ jobs:
147147
upload:
148148
name: Upload packages
149149
needs: [build_data, build_basemap, check]
150-
runs-on: ubuntu-latest
150+
runs-on: ubuntu-22.04
151151
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
152152
steps:
153153
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)