Skip to content

Commit cf7c409

Browse files
committed
Enable ge settings with ci workflow
1 parent eab5b72 commit cf7c409

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
paths-ignore:
77
- '.github/**'
88

9+
env:
10+
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
11+
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
12+
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
13+
914
jobs:
1015
build:
1116
runs-on: ubuntu-latest
@@ -15,7 +20,6 @@ jobs:
1520
include:
1621
- nickname: linux jdk17
1722
java: 17
18-
disable-samples: true
1923
name: CI Build ${{ matrix.nickname }}
2024
steps:
2125
- uses: actions/checkout@v2
@@ -25,8 +29,6 @@ jobs:
2529
java-version: ${{ matrix.java }}
2630
cache: gradle
2731
- name: Build
28-
env:
29-
DISABLE_SAMPLES: ${{ matrix.disable-samples }}
3032
run: ./gradlew build
3133
publish:
3234
runs-on: ubuntu-latest
@@ -57,8 +59,6 @@ jobs:
5759
echo JFROG_CLI_BUILD_NAME=spring-shell-main >> $GITHUB_ENV
5860
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
5961
- name: Build and Publish
60-
env:
61-
DISABLE_SAMPLES: true
6262
run: |
6363
jf rt gradle build distZip artifactoryPublish
6464
jf rt build-publish

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ jimfsVersion=1.2
77
gradleEnterpriseVersion=3.10.3
88
springGeConventionsVersion=0.0.11
99
findbugsVersion=3.0.2
10+
org.gradle.caching=true

0 commit comments

Comments
 (0)