Skip to content

Commit

Permalink
Merge branch 'main' into cristian/changelog-2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiangreco authored Sep 16, 2024
2 parents 3119855 + b1f73fd commit c0fd126
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
28 changes: 22 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Request](https://user-images.githubusercontent.com/316923/93274006-8922ef80-f7b9
- [`paths`](#paths)
- [`paths-ignore`](#paths-ignore)
- [`set-distribution-checksum`](#set-distribution-checksum)
- [`distributions-base-url`](#distributions-base-url)
- [`release-channel`](#release-channel)
- [`merge-method`](#merge-method)
- [`pr-title-template`](#pr-title-template)
Expand Down Expand Up @@ -396,6 +397,23 @@ with:

---

### `distributions-base-url`

| Name | Description | Required | Default |
| --- | --- | --- | --- |
| `distributions-base-url` | Set a custom url to download the Gradle Wrapper zip file from. | No | (empty) |

The base url to download the Gradle Wrapper zip file from. By default, the Gradle Wrapper update mechanism will download any newer version from the official repository.

For example:

```yaml
with:
distributions-base-url: 'https://your-domain.com/gradle-release'
```

---

### `release-channel`

| Name | Description | Required | Default |
Expand Down Expand Up @@ -433,10 +451,9 @@ with:

This input is used for the title of the pull request created by this action. This allows, for example, for better integration into repositories which make use of commit message patterns like [Conventional Commits](https://www.conventionalcommits.org/).

`%sourceVersion%` and `%targetVersion%` will be replaced by the current/old and the new version of the Gradle Wrapper
respectively.
`%sourceVersion%` and `%targetVersion%` will be replaced by the current/old and the new version of the Gradle Wrapper respectively.

There are cases in which the source version of the Gradle Wrapper can not be determined successfully. In such cases, the string 'undefined' will be used to replace the source version placeholder.
There are cases in which the source version of the Gradle Wrapper can not be determined successfully. In such cases, the string `undefined` will be used to replace the source version placeholder.

For example:

Expand All @@ -454,10 +471,9 @@ with:
This input is used for the message of the commit created by this action. This allows for better integration into
repositories which make use of commit message patterns like [Conventional Commits](https://www.conventionalcommits.org/).

`%sourceVersion%` and `%targetVersion%` will be replaced by the current/old and the new version of the Gradle Wrapper
respectively.
`%sourceVersion%` and `%targetVersion%` will be replaced by the current/old and the new version of the Gradle Wrapper respectively.

There are cases in which the source version of the Gradle Wrapper can not be determined successfully. In such cases, the string 'undefined' will be used to replace the source version placeholder.
There are cases in which the source version of the Gradle Wrapper can not be determined successfully. In such cases, the string `undefined` will be used to replace the source version placeholder.

For example:

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ inputs:
default: 'Update Gradle Wrapper from %sourceVersion% to %targetVersion%'

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'

0 comments on commit c0fd126

Please sign in to comment.