Skip to content

updates gradle action #184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
restore-keys: ${{ runner.os }}-gradle-

- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v1
name: Kotlin Benchmarks
with:
arguments: kotlinBenchmark
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false

- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v1
name: Java Benchmarks
with:
arguments: javaBenchmark
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/gradle-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,28 @@ jobs:
- name: Test rsocket-core module
if: success() || failure()
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-core:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-local module
if: success() || failure()
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-transport-local:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-ktor module
if: matrix.target != 'mingwX64' && matrix.target != 'jsIrNode' && matrix.target != 'jsIrBrowser' && matrix.target != 'jsLegacyNode' && matrix.target != 'jsLegacyBrowser' && (success() || failure())
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-transport-ktor:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false

Expand Down Expand Up @@ -118,10 +118,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Check full project builds
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: build -PskipTests --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false

Expand Down Expand Up @@ -151,9 +151,9 @@ jobs:
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
shell: bash
- name: Publish Packages to Artifactory (version x.y.z-SNAPSHOT)
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: artifactoryPublish -PbintrayUser=${{ secrets.bintrayUser }} -PbintrayKey=${{ secrets.bintrayKey }} -PversionSuffix=-SNAPSHOT -PbuildNumber=${{ github.run_number }} --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
16 changes: 8 additions & 8 deletions .github/workflows/gradle-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,28 +57,28 @@ jobs:
- name: Test rsocket-core module
if: success() || failure()
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-core:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-local module
if: success() || failure()
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-transport-local:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-ktor module
if: matrix.target != 'mingwX64' && matrix.target != 'jsIrNode' && matrix.target != 'jsIrBrowser' && matrix.target != 'jsLegacyNode' && matrix.target != 'jsLegacyBrowser' && (success() || failure())
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-transport-ktor:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false

Expand Down Expand Up @@ -113,9 +113,9 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Check full project builds
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: build -PskipTests --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
8 changes: 4 additions & 4 deletions .github/workflows/gradle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Check full project builds
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: build -PskipTests --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false

Expand Down Expand Up @@ -63,10 +63,10 @@ jobs:
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
shell: bash
- name: Publish Packages to Sonotype (version ${{ env.TAG_NAME }})
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: publishAllPublicationsToSonatypeRepository -Pversion=${{ env.TAG_NAME }} --info --no-daemon
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
ORG_GRADLE_PROJECT_signingKey: ${{secrets.signingKey}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
shell: bash
- name: Publish Packages to Artifactory (version x.y.z-${{ env.BRANCH_NAME }}-SNAPSHOT)
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: artifactoryPublish -PbintrayUser=${{ secrets.bintrayUser }} -PbintrayKey=${{ secrets.bintrayKey }} -PversionSuffix=-${{ env.BRANCH_NAME }}-SNAPSHOT -PbuildNumber=${{ github.run_number }} --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,28 @@ jobs:
- name: Test rsocket-core module
if: success() || failure()
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-core:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-local module
if: success() || failure()
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-transport-local:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-ktor module
if: matrix.target != 'mingwX64' && matrix.target != 'jsIrNode' && matrix.target != 'jsIrBrowser' && matrix.target != 'jsLegacyNode' && matrix.target != 'jsLegacyBrowser' && (success() || failure())
timeout-minutes: 10
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v1
with:
arguments: rsocket-transport-ktor:${{ matrix.target }}Test --scan --info
wrapper-cache-enabled: false
distributions-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false

Expand Down