Skip to content

Commit

Permalink
Try delegating to gradle/actions/setup-gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jan 25, 2024
1 parent e1ada08 commit 45f7d53
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,36 @@ outputs:
gradle-version:
description: Version of Gradle that was setup by the action


runs:
using: 'node20'
main: 'dist/main/index.js'
post: 'dist/post/index.js'
using: "composite"
steps:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3-beta
with:
gradle-version: ${{ inputs.gradle-version }}
cache-disabled: ${{ inputs.cache-disabled }}
cache-read-only: ${{ inputs.cache-read-only }}
cache-write-only: ${{ inputs.cache-write-only }}
cache-overwrite-existing: ${{ inputs.cache-overwrite-existing }}
cache-encryption-key: ${{ inputs.cache-encryption-key }}
gradle-home-cache-includes: ${{ inputs.gradle-home-cache-includes }}
gradle-home-cache-excludes: ${{ inputs.gradle-home-cache-excludes }}
gradle-home-cache-cleanup: ${{ inputs.gradle-home-cache-cleanup }}
add-job-summary: ${{ inputs.add-job-summary }}
add-job-summary-as-pr-comment: ${{ inputs.add-job-summary-as-pr-comment }}
dependency-graph: ${{ inputs.dependency-graph }}
dependency-graph-continue-on-failure: ${{ inputs.dependency-graph-continue-on-failure }}
artifact-retention-days: ${{ inputs.artifact-retention-days }}
build-scan-publish: ${{ inputs.build-scan-publish }}
build-scan-terms-of-service-url: ${{ inputs.build-scan-terms-of-service-url }}
build-scan-terms-of-service-agree: ${{ inputs.build-scan-terms-of-service-agree }}
arguments: ${{ inputs.arguments }}
build-root-directory: ${{ inputs.build-root-directory }}
generate-job-summary: ${{ inputs.generate-job-summary }}
gradle-home-cache-strict-match: ${{ inputs.gradle-home-cache-strict-match }}
workflow-job-context: ${{ inputs.workflow-job-context }}
github-token: ${{ inputs.github-token }}

branding:
icon: 'box'
Expand Down

0 comments on commit 45f7d53

Please sign in to comment.