File tree Expand file tree Collapse file tree 3 files changed +56
-54
lines changed
Expand file tree Collapse file tree 3 files changed +56
-54
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2727 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
2828 - name : Codecov metrics
2929 uses : codecov/codecov-action@v3
30-
31- snapshots :
32- name : Snaphots
33- if : ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
34- runs-on : ubuntu-latest
35- steps :
36- - uses : actions/checkout@v3
37-
38- - uses : actions/setup-java@v3
39- with :
40- distribution : " temurin"
41- java-version : 11
42- cache : maven
43- server-id : ossrh
44- server-username : MAVEN_USERNAME
45- server-password : MAVEN_PASSWORD
46- - name : OSSRH Snapshot
47- run : mvn --batch-mode source:jar javadoc:jar deploy -Possrh -DskipTests
48-
49- env :
50- MAVEN_USERNAME : ${{ secrets.nexus_username }}
51- MAVEN_PASSWORD : ${{ secrets.nexus_password }}
52-
53- - uses : actions/setup-java@v3
54- with :
55- distribution : " temurin"
56- java-version : 11
57- cache : maven
58- - name : GitHub Snapshot
59- run : mvn --batch-mode source:jar javadoc:jar deploy -Pgithub -DskipTests
60- env :
61- GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1+ name : Snaphots
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *'
6+
7+ env :
8+ CI : true
9+
10+ jobs :
11+ linux-jvm-tests :
12+ name : JDK JVM Tests
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ - uses : actions/setup-java@v3
17+ with :
18+ distribution : " temurin"
19+ java-version : 11
20+ cache : maven
21+ - name : Build with Maven
22+ run : mvn verify
23+
24+ snapshots :
25+ needs : [ linux-jvm-tests ]
26+ name : Snaphots
27+ if : ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v3
31+
32+ # OSSRH
33+ - uses : actions/setup-java@v3
34+ with :
35+ distribution : " temurin"
36+ java-version : 11
37+ cache : maven
38+ server-id : ossrh
39+ server-username : MAVEN_USERNAME
40+ server-password : MAVEN_PASSWORD
41+ - name : OSSRH Snapshot
42+ run : mvn --batch-mode source:jar javadoc:jar deploy -Possrh -DskipTests
43+ env :
44+ MAVEN_USERNAME : ${{ secrets.nexus_username }}
45+ MAVEN_PASSWORD : ${{ secrets.nexus_password }}
46+
47+ # GitHub
48+ - uses : actions/setup-java@v3
49+ with :
50+ distribution : " temurin"
51+ java-version : 11
52+ cache : maven
53+ - name : GitHub Snapshot
54+ run : mvn --batch-mode source:jar javadoc:jar deploy -Pgithub -DskipTests
55+ env :
56+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments