Merge branch 'master' of https://github.com/kaklakariada/portmapper
commit
d035e91e53
|
@ -27,14 +27,16 @@ jobs:
|
|||
- run: git checkout HEAD^2
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
- uses: actions/setup-java@v1
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: 11
|
||||
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
- name: Cache Gradle packages and wrapper
|
||||
uses: actions/cache@v2.1.4
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Cache Gradle packages and wrapper
|
||||
uses: actions/cache@v2.1.4
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
|
@ -22,12 +22,13 @@ jobs:
|
|||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: ${{ runner.os }}-gradle-
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: 11
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build --info --stacktrace --warning-mode summary
|
||||
run: ./gradlew build --info --warning-mode summary
|
||||
- name: Publish Test Report
|
||||
uses: scacap/action-surefire-report@v1
|
||||
if: ${{ always() && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}
|
||||
|
@ -40,7 +41,7 @@ jobs:
|
|||
./gradlew sonarqube -Dsonar.host.url=https://sonarcloud.io \
|
||||
-Dsonar.organization=kaklakariada-github \
|
||||
-Dsonar.login=$SONAR_TOKEN \
|
||||
--info --stacktrace --warning-mode=summary
|
||||
--info --warning-mode=summary
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
|
|
|
@ -3,9 +3,9 @@ plugins {
|
|||
id 'signing'
|
||||
id 'maven-publish'
|
||||
id 'jacoco'
|
||||
id "com.github.hierynomus.license" version "0.15.0"
|
||||
id "org.sonarqube" version "3.1.1"
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id "com.github.hierynomus.license" version "0.16.1"
|
||||
id "org.sonarqube" version "3.2.0"
|
||||
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
||||
id 'io.codearte.nexus-staging' version '0.30.0'
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
Loading…
Reference in New Issue