-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
444e3a3
commit d9fd317
Showing
26 changed files
with
2,140 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# Linux start script should use lf | ||
/gradlew text eol=lf | ||
|
||
# These are Windows script files and should use crlf | ||
*.bat text eol=crlf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build and publish artifacts | ||
on: | ||
push: | ||
branches: | ||
# Run on all branches (but not tags); branch builds publish snapshots | ||
- '*' | ||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-22.04 # LTS EoL Apr 2025 | ||
|
||
env: | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SONATYPE_PGP_KEY }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SONATYPE_PGP_PASSWORD }} | ||
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_PUBLISH_USERNAME }} | ||
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PUBLISH_PASSWORD }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8.x' | ||
java-package: jdk | ||
architecture: x64 | ||
distribution: temurin | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.gradle | ||
key: ${{ runner.OS }}-gradle-${{ hashFiles('**/build.gradle') }} | ||
restore-keys: | | ||
${{ runner.OS }}-gradle- | ||
${{ runner.OS }} | ||
- name: Install Dependencies | ||
run: | | ||
./gradlew dependencies | ||
- name: Show Versions | ||
run: | | ||
echo "java: $(java -version)" | ||
- name: Build and test | ||
run: ./gradlew test --console plain | ||
|
||
- name: Publish artifacts | ||
run: ./gradlew publish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.