mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-24 09:10:57 -05:00
Prepare for v3.0.0 release
This commit is contained in:
parent
d4bd442194
commit
3b1b3b9a21
2 changed files with 7 additions and 7 deletions
12
README.md
12
README.md
|
@ -58,7 +58,7 @@ jobs:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v3
|
||||||
|
|
||||||
- name: Execute Gradle build
|
- name: Execute Gradle build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
@ -70,7 +70,7 @@ The `gradle-build-action` can download and install a specified Gradle version, a
|
||||||
Downloaded Gradle versions are stored in the GitHub Actions cache, to avoid requiring downloading again later.
|
Downloaded Gradle versions are stored in the GitHub Actions cache, to avoid requiring downloading again later.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: gradle/gradle-build-action@v2
|
- uses: gradle/gradle-build-action@v3
|
||||||
with:
|
with:
|
||||||
gradle-version: 6.5
|
gradle-version: 6.5
|
||||||
```
|
```
|
||||||
|
@ -105,7 +105,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: 11
|
java-version: 11
|
||||||
- uses: gradle/gradle-build-action@v2
|
- uses: gradle/gradle-build-action@v3
|
||||||
id: setup-gradle
|
id: setup-gradle
|
||||||
with:
|
with:
|
||||||
gradle-version: release-candidate
|
gradle-version: release-candidate
|
||||||
|
@ -450,7 +450,7 @@ jobs:
|
||||||
- name: Checkout project sources
|
- name: Checkout project sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v3
|
||||||
- name: Run build with Gradle wrapper
|
- name: Run build with Gradle wrapper
|
||||||
run: ./gradlew build --scan
|
run: ./gradlew build --scan
|
||||||
- name: Upload build reports
|
- name: Upload build reports
|
||||||
|
@ -516,7 +516,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v3
|
||||||
- name: Run a Gradle build with Develocity injection enabled
|
- name: Run a Gradle build with Develocity injection enabled
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
```
|
```
|
||||||
|
@ -557,7 +557,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to publish build scans
|
- name: Setup Gradle to publish build scans
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v3
|
||||||
with:
|
with:
|
||||||
build-scan-publish: true
|
build-scan-publish: true
|
||||||
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service"
|
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service"
|
||||||
|
|
|
@ -149,7 +149,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
id: setup-gradle
|
id: setup-gradle
|
||||||
uses: gradle/actions/setup-gradle@v3.0.0-rc.2
|
uses: gradle/actions/setup-gradle@v3.0.0
|
||||||
with:
|
with:
|
||||||
gradle-version: ${{ inputs.gradle-version }}
|
gradle-version: ${{ inputs.gradle-version }}
|
||||||
cache-disabled: ${{ inputs.cache-disabled }}
|
cache-disabled: ${{ inputs.cache-disabled }}
|
||||||
|
|
Loading…
Reference in a new issue