mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2026-12-01 01:43:02 +01:00
Unify ubuntu base image version across workflows (#77)
This commit is contained in:
@@ -81,7 +81,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-26.04
|
||||||
steps:
|
steps:
|
||||||
- name: Install Ubuntu dependencies
|
- name: Install Ubuntu dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-required-prs:
|
check-required-prs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-26.04
|
||||||
steps:
|
steps:
|
||||||
- name: Check required PRs
|
- name: Check required PRs
|
||||||
uses: MalTeeez/packscripts@a89fe398d047ac9e2e165465a51096be4f9853cb
|
uses: MalTeeez/packscripts@a89fe398d047ac9e2e165465a51096be4f9853cb
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
# This needs to be kept in sync with the labels being checked
|
# This needs to be kept in sync with the labels being checked
|
||||||
# These don't need to hold the entire label name and aren't case sensitive
|
# These don't need to hold the entire label name and aren't case sensitive
|
||||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'Affects Balance') || contains(github.event.pull_request.labels.*.name, 'ongoing freeze') }}
|
if: ${{ contains(github.event.pull_request.labels.*.name, 'Affects Balance') || contains(github.event.pull_request.labels.*.name, 'ongoing freeze') }}
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-26.04
|
||||||
steps:
|
steps:
|
||||||
- name: Label requires reviews
|
- name: Label requires reviews
|
||||||
uses: GTNewHorizons/label-requires-reviews-action@master
|
uses: GTNewHorizons/label-requires-reviews-action@master
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-pr-url:
|
get-pr-url:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-26.04
|
||||||
# Run on ANY pull_request build completion. We branch on conclusion below
|
# Run on ANY pull_request build completion. We branch on conclusion below
|
||||||
if: github.event.workflow_run.event == 'pull_request'
|
if: github.event.workflow_run.event == 'pull_request'
|
||||||
outputs:
|
outputs:
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
# Real test work runs ONLY on a successful build
|
# Real test work runs ONLY on a successful build
|
||||||
if: needs.get-pr-url.outputs.conclusion == 'success'
|
if: needs.get-pr-url.outputs.conclusion == 'success'
|
||||||
name: Test in latest daily
|
name: Test in latest daily
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-26.04
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/malteeez/gtnh-daily:latest
|
image: ghcr.io/malteeez/gtnh-daily:latest
|
||||||
env:
|
env:
|
||||||
@@ -120,7 +120,7 @@ jobs:
|
|||||||
# Post a terminal status for every pull_request build, independent of get-pr-url's
|
# Post a terminal status for every pull_request build, independent of get-pr-url's
|
||||||
# result, so a superseding run always clears a stale pending on the source commit
|
# result, so a superseding run always clears a stale pending on the source commit
|
||||||
if: always() && github.event.workflow_run.event == 'pull_request'
|
if: always() && github.event.workflow_run.event == 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-26.04
|
||||||
steps:
|
steps:
|
||||||
# Backstop for the cancel-in-progress race on a repaired rerun. Attempt 1 and
|
# Backstop for the cancel-in-progress race on a repaired rerun. Attempt 1 and
|
||||||
# attempt 2 of the triggering build share one run_id but differ in run_attempt,
|
# attempt 2 of the triggering build share one run_id but differ in run_attempt,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
compress:
|
compress:
|
||||||
name: Compress and make a PR if needed
|
name: Compress and make a PR if needed
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-26.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-26.04
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ github.ref_name }}
|
VERSION: ${{ github.ref_name }}
|
||||||
RELEASE_VERSION: ${{ github.ref_name }}
|
RELEASE_VERSION: ${{ github.ref_name }}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
trigger-rebuild-with-deps:
|
trigger-rebuild-with-deps:
|
||||||
name: Apply required PRs from external repos
|
name: Apply required PRs from external repos
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-26.04
|
||||||
if: github.event.workflow_run.conclusion == 'failure'
|
if: github.event.workflow_run.conclusion == 'failure'
|
||||||
&& github.event.workflow_run.event == 'pull_request'
|
&& github.event.workflow_run.event == 'pull_request'
|
||||||
&& github.event.workflow_run.run_attempt == 1
|
&& github.event.workflow_run.run_attempt == 1
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
comment:
|
comment:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-26.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Comment on PR
|
- name: Comment on PR
|
||||||
|
|||||||
Reference in New Issue
Block a user