Skip to content

Commit cc6e2c5

Browse files
authored
Backport #1605 (#1617)
* Backport #1605 * Update .github/workflows/nebula-ci.yml * Update .github/workflows/nebula-ci.yml
1 parent e17779d commit cc6e2c5

File tree

5 files changed

+18
-28
lines changed

5 files changed

+18
-28
lines changed

.github/workflows/nebula-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,20 @@ jobs:
1616
java: [ 11 ]
1717
name: CI with Java ${{ matrix.java }}
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: Setup jdk
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v5
2222
with:
2323
java-version: ${{ matrix.java }}
24-
- uses: actions/cache@v4
24+
distribution: 'zulu'
25+
- uses: actions/cache@v5
2526
id: gradle-cache
2627
with:
2728
path: ~/.gradle/caches
2829
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }}
2930
restore-keys: |
3031
- ${{ runner.os }}-gradle-
31-
- uses: actions/cache@v4
32+
- uses: actions/cache@v5
3233
id: gradle-wrapper-cache
3334
with:
3435
path: ~/.gradle/wrapper

.github/workflows/nebula-publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,21 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14+
environment: Publish
1415
steps:
15-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1617
- name: Setup jdk 11
17-
uses: actions/setup-java@v1
18+
uses: actions/setup-java@v5
1819
with:
1920
java-version: 11
20-
- uses: actions/cache@v4
21+
- uses: actions/cache@v5
2122
id: gradle-cache
2223
with:
2324
path: ~/.gradle/caches
2425
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }}
2526
restore-keys: |
2627
- ${{ runner.os }}-gradle-
27-
- uses: actions/cache@v4
28+
- uses: actions/cache@v5
2829
id: gradle-wrapper-cache
2930
with:
3031
path: ~/.gradle/wrapper

.github/workflows/nebula-snapshot.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,29 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
environment: Publish
1213
steps:
13-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1415
with:
1516
fetch-depth: 0
1617
- name: Set up JDK
17-
uses: actions/setup-java@v1
18+
uses: actions/setup-java@v5
1819
with:
1920
java-version: 11
20-
- uses: actions/cache@v4
21+
- uses: actions/cache@v5
2122
id: gradle-cache
2223
with:
2324
path: |
2425
~/.gradle/caches
2526
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
26-
- uses: actions/cache@v4
27+
- uses: actions/cache@v5
2728
id: gradle-wrapper-cache
2829
with:
2930
path: |
3031
~/.gradle/wrapper
3132
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }}
3233
- name: Build
33-
run: ./gradlew build snapshot -Prelease.version=2.0.1-SNAPSHOT
34+
run: ./gradlew build snapshot -Prelease.version=2.0.5-SNAPSHOT
3435
env:
3536
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }}
3637
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }}

build.gradle

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
buildscript {
2-
repositories {
3-
mavenCentral()
4-
maven {
5-
url "https://plugins.gradle.org/m2"
6-
}
7-
}
8-
9-
dependencies {
10-
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:8.+'
11-
}
12-
}
13-
141
plugins {
152
id 'com.netflix.nebula.netflixoss' version '11.6.0'
163
id 'org.gretty' version '4.0.3'
@@ -58,7 +45,7 @@ allprojects {
5845

5946
subprojects {
6047
apply plugin: 'com.netflix.nebula.netflixoss'
61-
apply plugin: 'java'
48+
apply plugin: 'java-library'
6249

6350
group = "com.netflix.${githubProjectName}"
6451

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip

0 commit comments

Comments
 (0)