mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-02 10:21:48 +02:00
Update gradle setup action and GHA runner OS version (#44)
This commit is contained in:
parent
7f626aef08
commit
0e6acf14d2
14
.github/workflows/build-and-test.yml
vendored
14
.github/workflows/build-and-test.yml
vendored
@ -24,7 +24,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Install Ubuntu dependencies
|
- name: Install Ubuntu dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -41,9 +41,6 @@ jobs:
|
|||||||
path: .gtnh-workflows
|
path: .gtnh-workflows
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Validate gradle wrapper checksum
|
|
||||||
uses: gradle/actions/wrapper-validation@v3
|
|
||||||
|
|
||||||
- name: Set up JDK versions
|
- name: Set up JDK versions
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
@ -52,7 +49,14 @@ jobs:
|
|||||||
21
|
21
|
||||||
17
|
17
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
cache: gradle
|
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
with:
|
||||||
|
build-scan-publish: true
|
||||||
|
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
|
||||||
|
build-scan-terms-of-use-agree: "yes"
|
||||||
|
validate-wrappers: true
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
5
.github/workflows/label-reviews.yml
vendored
5
.github/workflows/label-reviews.yml
vendored
@ -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-latest
|
runs-on: ubuntu-24.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
|
||||||
@ -21,6 +21,5 @@ jobs:
|
|||||||
# define which PR labels require how many aprroving reviewers
|
# define which PR labels require how many aprroving reviewers
|
||||||
# Case sensitive and needs the full label name.
|
# Case sensitive and needs the full label name.
|
||||||
rules_yaml: |-
|
rules_yaml: |-
|
||||||
Affects Balance: 3
|
Affects Balance: 3
|
||||||
ongoing freeze - don't merge: 99
|
ongoing freeze - don't merge: 99
|
||||||
|
|
14
.github/workflows/release-tags.yml
vendored
14
.github/workflows/release-tags.yml
vendored
@ -23,7 +23,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ github.ref_name }}
|
VERSION: ${{ github.ref_name }}
|
||||||
RELEASE_VERSION: ${{ github.ref_name }}
|
RELEASE_VERSION: ${{ github.ref_name }}
|
||||||
@ -35,9 +35,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 32
|
fetch-depth: 32
|
||||||
|
|
||||||
- name: Validate gradle wrapper checksum
|
|
||||||
uses: gradle/actions/wrapper-validation@v3
|
|
||||||
|
|
||||||
- name: Set up JDK versions
|
- name: Set up JDK versions
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
@ -46,7 +43,14 @@ jobs:
|
|||||||
21
|
21
|
||||||
17
|
17
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
cache: gradle
|
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
with:
|
||||||
|
build-scan-publish: true
|
||||||
|
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
|
||||||
|
build-scan-terms-of-use-agree: "yes"
|
||||||
|
validate-wrappers: true
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
Loading…
x
Reference in New Issue
Block a user