Skip to content

Commit

Permalink
Update action to use fresh version of gradle and scan
Browse files Browse the repository at this point in the history
  • Loading branch information
ov7a committed May 24, 2024
1 parent 22f0681 commit 8a490eb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/run-reproducer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- uses: gradle/gradle-build-action@v2
distribution: 'temurin'
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: help --info
gradle-version: release-candidate
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"

- name: Run build # change the command below to whatever you need to reproduce the issue
run: gradle help --info
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ https://user-images.githubusercontent.com/419883/147940456-d0c96c90-f2b5-4574-81
- You can also edit your reprocer in an online editor by replacing `github.com` with `github.dev` in the URL (or by pressing the '.' key on the keyboard).
- Adjust the [GitHub Action file](.github/workflows/run-reproducer.yml)
- You can configure the executed Gradle tasks as well as the environment (task options, log level, JVM version, operating system, etc)
- The documentation for the Gradle GitHub Action is available [here](https://github.com/gradle/gradle-build-action)
- The documentation for the Gradle GitHub Action is available [here](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md)
- Verify that the reproducer exhibits the problem on the [GitHub Action page](https://github.com/gradle/gradle-issue-reproducer/actions)
- Link your reproducer to the issue

0 comments on commit 8a490eb

Please sign in to comment.