mirror of
https://github.com/gradle/actions
synced 2024-11-27 11:52:24 +00:00
Replace 'v3-beta' with 'v3' in docs
This commit is contained in:
parent
0f26c9acd8
commit
0ac0f49dd2
5 changed files with 28 additions and 28 deletions
2
.github/workflows/ci-init-script-check.yml
vendored
2
.github/workflows/ci-init-script-check.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: 8
|
java-version: 8
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v3-beta # Use a released version to avoid breakages
|
uses: gradle/actions/setup-gradle@v3 # Use a released version to avoid breakages
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
working-directory: sources/test/init-scripts
|
working-directory: sources/test/init-scripts
|
||||||
run: ./gradlew check
|
run: ./gradlew check
|
||||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
```
|
```
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v3-beta
|
uses: gradle/actions/dependency-submission@v3
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [full action documentation](dependency-submission/README.md) for more advanced usage scenarios.
|
See the [full action documentation](dependency-submission/README.md) for more advanced usage scenarios.
|
||||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v3-beta
|
uses: gradle/actions/dependency-submission@v3
|
||||||
```
|
```
|
||||||
|
|
||||||
### Configuration parameters
|
### Configuration parameters
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and save dependency graph
|
- name: Generate and save dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v3-beta
|
uses: gradle/actions/dependency-submission@v3
|
||||||
with:
|
with:
|
||||||
# Use a particular Gradle version instead of the configured wrapper.
|
# Use a particular Gradle version instead of the configured wrapper.
|
||||||
gradle-version: 8.6-rc-2
|
gradle-version: 8.6-rc-2
|
||||||
|
@ -88,7 +88,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and submit dependency graph
|
- name: Generate and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v3-beta
|
uses: gradle/actions/dependency-submission@v3
|
||||||
|
|
||||||
dependency-review:
|
dependency-review:
|
||||||
needs: dependency-submission
|
needs: dependency-submission
|
||||||
|
@ -126,7 +126,7 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Generate and save dependency graph
|
- name: Generate and save dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v3-beta
|
uses: gradle/actions/dependency-submission@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-upload
|
dependency-graph: generate-and-upload
|
||||||
```
|
```
|
||||||
|
@ -148,7 +148,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download and submit dependency graph
|
- name: Download and submit dependency graph
|
||||||
uses: gradle/actions/dependency-submission@v3-beta
|
uses: gradle/actions/dependency-submission@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: download-and-submit # Download saved dependency-graph and submit
|
dependency-graph: download-and-submit # Download saved dependency-graph and submit
|
||||||
```
|
```
|
||||||
|
|
|
@ -52,7 +52,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Generate dependency graph
|
- name: Generate dependency graph
|
||||||
if: ${{ inputs.dependency-graph == 'generate-and-submit' || inputs.dependency-graph == 'generate-and-upload' }}
|
if: ${{ inputs.dependency-graph == 'generate-and-submit' || inputs.dependency-graph == 'generate-and-upload' }}
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: ${{ inputs.dependency-graph }}
|
dependency-graph: ${{ inputs.dependency-graph }}
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
|
@ -70,7 +70,7 @@ runs:
|
||||||
${{ inputs.additional-arguments }}
|
${{ inputs.additional-arguments }}
|
||||||
- name: Download and submit dependency graph
|
- name: Download and submit dependency graph
|
||||||
if: ${{ inputs.dependency-graph == 'download-and-submit' }}
|
if: ${{ inputs.dependency-graph == 'download-and-submit' }}
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: download-and-submit
|
dependency-graph: download-and-submit
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
|
|
||||||
- name: Execute Gradle build
|
- name: Execute Gradle build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
@ -52,7 +52,7 @@ The `setup-gradle` 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/actions/setup-gradle@v3-beta
|
- uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
gradle-version: 6.5
|
gradle-version: 6.5
|
||||||
```
|
```
|
||||||
|
@ -87,7 +87,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: 11
|
java-version: 11
|
||||||
- uses: gradle/actions/setup-gradle@v3-beta
|
- uses: gradle/actions/setup-gradle@v3
|
||||||
id: setup-gradle
|
id: setup-gradle
|
||||||
with:
|
with:
|
||||||
gradle-version: release-candidate
|
gradle-version: release-candidate
|
||||||
|
@ -176,7 +176,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: gradle/actions/setup-gradle@v3-beta
|
- uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
gradle-version: 8.6-rc-1
|
gradle-version: 8.6-rc-1
|
||||||
cache-encryption-key: ${{ secrets.GradleEncryptionKey }}
|
cache-encryption-key: ${{ secrets.GradleEncryptionKey }}
|
||||||
|
@ -400,7 +400,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/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
add-job-summary-as-pr-comment: on-failure # Valid values are 'never' (default), 'always', and 'on-failure'
|
add-job-summary-as-pr-comment: on-failure # Valid values are 'never' (default), 'always', and 'on-failure'
|
||||||
- run: ./gradlew build --scan
|
- run: ./gradlew build --scan
|
||||||
|
@ -432,7 +432,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/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@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
|
||||||
|
@ -494,7 +494,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to generate and submit dependency graphs
|
- name: Setup Gradle to generate and submit dependency graphs
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
- name: Run the usual CI build (dependency-graph will be generated and submitted post-job)
|
- name: Run the usual CI build (dependency-graph will be generated and submitted post-job)
|
||||||
|
@ -521,7 +521,7 @@ graph cannot be generated or submitted. You can enable this behaviour with the `
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Ensure that the workflow Job will fail if the dependency graph cannot be submitted
|
# Ensure that the workflow Job will fail if the dependency graph cannot be submitted
|
||||||
- uses: gradle/actions/setup-gradle@v3-beta
|
- uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
|
@ -539,7 +539,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to generate and submit dependency graphs
|
- name: Setup Gradle to generate and submit dependency graphs
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
- name: Run a build, resolving the 'dependency-graph' plugin from the plugin portal proxy
|
- name: Run a build, resolving the 'dependency-graph' plugin from the plugin portal proxy
|
||||||
|
@ -576,7 +576,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to generate and submit dependency graphs
|
- name: Setup Gradle to generate and submit dependency graphs
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
- name: Run a build and generate the dependency graph which will be submitted post-job
|
- name: Run a build and generate the dependency graph which will be submitted post-job
|
||||||
|
@ -619,7 +619,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to generate and submit dependency graphs
|
- name: Setup Gradle to generate and submit dependency graphs
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
- name: Build the app, generating a graph of dependencies required
|
- name: Build the app, generating a graph of dependencies required
|
||||||
|
@ -651,7 +651,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to generate and submit dependency graphs
|
- name: Setup Gradle to generate and submit dependency graphs
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
- name: Run a build, generating the dependency graph from any resolved 'runtimeClasspath' configurations
|
- name: Run a build, generating the dependency graph from any resolved 'runtimeClasspath' configurations
|
||||||
|
@ -675,7 +675,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to generate and submit dependency graphs
|
- name: Setup Gradle to generate and submit dependency graphs
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-submit
|
dependency-graph: generate-and-submit
|
||||||
- name: Build the distribution Zip for `my-app`
|
- name: Build the distribution Zip for `my-app`
|
||||||
|
@ -712,7 +712,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle to generate and submit dependency graphs
|
- name: Setup Gradle to generate and submit dependency graphs
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate-and-upload # Generate graphs and save as workflow artifacts
|
dependency-graph: generate-and-upload # Generate graphs and save as workflow artifacts
|
||||||
- name: Run a build, generating the dependency graph snapshot which will be submitted
|
- name: Run a build, generating the dependency graph snapshot which will be submitted
|
||||||
|
@ -736,7 +736,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Retrieve dependency graph artifact and submit
|
- name: Retrieve dependency graph artifact and submit
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: download-and-submit # Download saved workflow artifacts and submit
|
dependency-graph: download-and-submit # Download saved workflow artifacts and submit
|
||||||
```
|
```
|
||||||
|
@ -796,7 +796,7 @@ To reduce storage costs for these artifacts, you can set the `artifact-retention
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- name: Generate dependency graph, but only retain artifact for one day
|
- name: Generate dependency graph, but only retain artifact for one day
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
dependency-graph: generate
|
dependency-graph: generate
|
||||||
artifact-retention-days: 1
|
artifact-retention-days: 1
|
||||||
|
@ -831,7 +831,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@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
|
||||||
```
|
```
|
||||||
|
@ -872,7 +872,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/actions/setup-gradle@v3-beta
|
uses: gradle/actions/setup-gradle@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"
|
||||||
|
|
Loading…
Reference in a new issue