Skip to content

Commit

Permalink
NCL-6679: Switch from eskatos/gradle-command-action@v1 to `gradle/g…
Browse files Browse the repository at this point in the history
…radle-build-action@v2`
  • Loading branch information
dwalluck committed Oct 29, 2021
1 parent 06ced08 commit b7e9c98
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
Expand All @@ -49,7 +41,7 @@ jobs:
# net.linguica.gradle.maven.settings plugin and github's provided maven
# settings.xml file
run: rm ~/.m2/settings.xml
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
with:
gradle-version: ${{ matrix.gradle }}
arguments: --no-daemon --stacktrace clean build AggregateJacocoReport
Expand All @@ -68,12 +60,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
Expand All @@ -95,7 +81,7 @@ jobs:
"username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"
}]
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
with:
arguments: clean build publish AggregateJacocoReport
- name: Codecov
Expand Down

0 comments on commit b7e9c98

Please sign in to comment.