File tree Expand file tree Collapse file tree 2 files changed +49
-2
lines changed
Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Publish Snapshot
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Set up JDK 11
12+ uses : actions/setup-java@v4
13+ with :
14+ java-version : 11
15+ distribution : liberica
16+
17+ - name : Setup Gradle
18+ uses : gradle/actions/setup-gradle@v4
19+ with :
20+ gradle-version : wrapper
21+
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
24+
25+ - name : Upload Snapshots
26+ uses : th2-net/.github/.github/workflows/compound-java-dev.yml@main
27+ with :
28+ build-target : ' Sonatype'
29+ secrets :
30+ sonatypeUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
31+ sonatypePassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
32+ sonatypeSigningKey : ${{ secrets.SONATYPE_GPG_ARMORED_KEY }}
33+ sonatypeSigningPassword : ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
34+ nvd-api-key : ${{ secrets.NVD_APIKEY }}
Original file line number Diff line number Diff line change @@ -15,13 +15,26 @@ jobs:
1515 distribution : liberica
1616
1717 - name : Setup Gradle
18- uses : gradle/actions/setup-gradle@v3
18+ uses : gradle/actions/setup-gradle@v4
1919 with :
2020 gradle-version : wrapper
2121
2222 - name : Checkout repository
2323 uses : actions/checkout@v4
2424
25+ - name : Prepare a tool to detect unwelcome words
26+ uses : actions/checkout@v4
27+ with :
28+ repository : exactpro-th2/ci-github-action
29+ ref : master
30+ token : ${{ secrets.PAT_CI_ACTION }}
31+ path : ci-github-unwelcome-words-action
32+
33+ - name : Run CI action to detect unwelcome words
34+ uses : ./ci-github-unwelcome-words-action
35+ with :
36+ ref : ${{ github.sha }}
37+
2538 - name : Build project and run tests
2639 run : ./gradlew clean build
2740
3447 **/build/reports/
3548 **/build/test-results/
3649
37- - name : Upload archives
50+ - name : Upload Archives
3851 env :
3952 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
4053 OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
You can’t perform that action at this time.
0 commit comments