-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into production
- Loading branch information
Showing
6 changed files
with
125 additions
and
192 deletions.
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# This workflow will build a Java project with Gradle | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
|
||
name: Development Builds | ||
|
||
on: | ||
|
@@ -9,76 +6,38 @@ on: | |
- translations | ||
|
||
jobs: | ||
build-java16: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 16 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '16' | ||
distribution: 'adopt' | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Tests with Gradle | ||
run: ./gradlew test | ||
- name: Build with Gradle | ||
run: ./gradlew shadowJar | ||
- name: Publish Unit Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v1 | ||
if: always() | ||
with: | ||
files: build/test-results/**/*.xml | ||
|
||
build-java11: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Tests with Gradle | ||
run: ./gradlew test | ||
- name: Build with Gradle | ||
run: ./gradlew shadowJar | ||
- name: Publish Unit Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v1 | ||
if: always() | ||
with: | ||
files: build/test-results/**/*.xml | ||
|
||
build-java8: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
java-version: | ||
- '8' | ||
- '11' | ||
- '16' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '8' | ||
distribution: 'adopt' | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Tests with Gradle | ||
run: ./gradlew test | ||
- name: Build with Gradle | ||
run: ./gradlew shadowJar | ||
- name: Publish Unit Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v1 | ||
if: always() | ||
with: | ||
files: build/test-results/**/*.xml | ||
- name: Upload Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: Builds | ||
path: build/libs/*.jar | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK ${{ matrix.java-version }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
distribution: 'adopt' | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Tests with Gradle | ||
run: ./gradlew test | ||
- name: Build with Gradle | ||
run: ./gradlew shadowJar | ||
- name: Publish Unit Test Results | ||
uses: mikepenz/action-junit-report@v1 | ||
if: > | ||
always() && | ||
github.event.sender.login != 'dependabot[bot]' && | ||
( github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository ) | ||
with: | ||
report_paths: '**/build/test-results/test/TEST-*.xml' | ||
- name: Upload Artifact | ||
if: matrix.java-version == '8' | ||
uses: actions/[email protected] | ||
with: | ||
name: Builds | ||
path: build/libs/*.jar |
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.