Skip to content

Commit

Permalink
[tailscale] .github: bump to latest ubuntu LTS in workflows
Browse files Browse the repository at this point in the history
Use `ubuntu-24.04` instead of `20.04` as the latter is EOL in May 2025.

Updates #47

Signed-off-by: Mario Minardi <[email protected]>
  • Loading branch information
mpminardi committed Jan 7, 2025
1 parent 161c3b7 commit 244608e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -37,7 +37,7 @@ jobs:
exclude:
- GOOS: windows
GOARCH: arm64
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name)
steps:
- name: checkout
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
path: ${{ env.artifacts_path }}/${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz

create_release:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name)
needs: [test, build_release]
outputs:
Expand All @@ -100,7 +100,7 @@ jobs:
exclude:
- GOOS: windows
GOARCH: arm64
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name)
needs: [create_release]
steps:
Expand All @@ -119,7 +119,7 @@ jobs:
asset_content_type: application/gzip

clean_old:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
# Do not clean up old builds on workflow_dispatch to allow temporarily
# re-creating old releases for backports.
if: github.event_name == 'push'
Expand Down

0 comments on commit 244608e

Please sign in to comment.