Skip to content

Commit 1d25148

Browse files
committed
Upgrade to Ubuntu v24.04 for VM and GH runners
1 parent bfa896b commit 1d25148

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
create-droplet:
99
name: Create and provision droplet
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
outputs:
1212
IPV4: ${{ steps.save.outputs.IPV4 }}
1313
env:
@@ -21,13 +21,13 @@ jobs:
2121
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
2222
- id: create
2323
name: Create droplet
24-
run: doctl compute droplet create --enable-monitoring --image ubuntu-20-04-x64 --size s-4vcpu-8gb --region nyc3 --ssh-keys "${SSH_FINGERPRINT}" --tag-name labs --user-data-file ./cloud-config.yml --wait "geosearch-${GITHUB_RUN_ID}"
24+
run: doctl compute droplet create --enable-monitoring --image ubuntu-24-04-x64 --size s-4vcpu-8gb --region nyc3 --ssh-keys "${SSH_FINGERPRINT}" --tag-name labs --user-data-file ./cloud-config.yml --wait "geosearch-${GITHUB_RUN_ID}"
2525
- id: save
2626
name: Save IPv4
2727
run: echo "::set-output name=IPV4::$(doctl compute droplet get "geosearch-${GITHUB_RUN_ID}" --template "{{- .PublicIPv4 -}}")"
2828
healthcheck:
2929
name: Wait for healthcheck to pass
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-24.04
3131
needs: create-droplet
3232
env:
3333
IPV4: ${{needs.create-droplet.outputs.IPV4}}

0 commit comments

Comments
 (0)