This repository was archived by the owner on May 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 55# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
66# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle
77
8- name : Gradle Package
8+ name : Package deployment
99
10- on :
11- - pull_request
10+ on : release
1211
1312jobs :
1413 build :
@@ -25,10 +24,10 @@ jobs:
2524 server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
2625 settings-path : ${{ github.workspace }} # location for the settings.xml file
2726
28- - name : Build with Gradle
27+ - name : Application build
2928 run : ./gradlew build
3029
31- - name : Publish to GitHub Packages
30+ - name : Publish to Maven package registry
3231 run : ./gradlew publish
3332 env :
3433 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
Original file line number Diff line number Diff line change 1+ name : Package deployment
2+
3+ on : pull_request
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v3
12+ - name : Set up JDK 11
13+ uses : actions/setup-java@v3
14+ with :
15+ java-version : ' 11'
16+ distribution : ' temurin'
17+ server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
18+ settings-path : ${{ github.workspace }} # location for the settings.xml file
19+
20+ - name : Code check
21+ run : ./gradlew check
You can’t perform that action at this time.
0 commit comments