File tree Expand file tree Collapse file tree 3 files changed +31
-75
lines changed Expand file tree Collapse file tree 3 files changed +31
-75
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Gradle
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+ name : Check and publish snapshot
5+
6+ on :
7+ push :
8+ branches :
9+ - master
10+ - main
11+ pull_request :
12+ branches :
13+ - master
14+ - main
15+ jobs :
16+ build :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+ - uses : actions/setup-java@v4
21+ with :
22+ distribution : temurin
23+ java-version : 11
24+ - name : Setup Gradle
25+ uses : gradle/actions/setup-gradle@v4
26+ - name : Build and publish snapshot
27+ env :
28+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
29+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
30+ SONATYPE_STAGING_PROFILE_ID : ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
31+ run : ./gradlew publish
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments