File tree Expand file tree Collapse file tree 3 files changed +37
-38
lines changed
Expand file tree Collapse file tree 3 files changed +37
-38
lines changed Original file line number Diff line number Diff line change 1+ name : build-test.yml
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - develop
7+ - main
8+
9+ jobs :
10+ build_and_push :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Check Out Repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set up JDK 17
17+ uses : actions/setup-java@v3
18+ with :
19+ distribution : ' temurin'
20+ java-version : ' 17'
21+
22+ - name : Gradle Caching
23+ uses : actions/cache@v3
24+ with :
25+ path : |
26+ ~/.gradle/caches
27+ ~/.gradle/wrapper
28+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
29+ restore-keys : |
30+ ${{ runner.os }}-gradle-
31+
32+ - name : Grant execute permission for gradlew
33+ run : chmod +x gradlew
34+
35+ - name : CI Test
36+ run : ./gradlew clean build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ scrape_configs:
1212 - localhost
1313 labels :
1414 job : application_logs
15- __path__ : logs/application*.log
15+ __path__ : /var/ logs/application*.log
You can’t perform that action at this time.
0 commit comments