Skip to content

Commit 248af4f

Browse files
committed
upgrade action to Node 20 and set new defaults
1 parent 8c4eb84 commit 248af4f

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following inputs can be used as `step.with` keys:
2121
| Name | Required/Default | Description |
2222
|------------------------|------------------|---------------------------|
2323
| `working-directory` | `.` | The working directory |
24-
| `java-version` | `17` | Java Version |
24+
| `java-version` | `21` | Java Version |
2525
| `distribution` | `corretto` | Java Distribution |
2626

2727
### Setup Java and Install Dependencies
@@ -41,7 +41,7 @@ The following inputs can be used as `step.with` keys:
4141
| Name | Required/Default | Description |
4242
|------------------------|------------------|---------------------------|
4343
| `working-directory` | `.` | The working directory |
44-
| `java-version` | `17` | Java Version |
44+
| `java-version` | `21` | Java Version |
4545
| `distribution` | `corretto` | Java Distribution |
4646

4747

@@ -52,16 +52,16 @@ In order to have a versioning in place and working, create lightweight tags that
5252
Creating a new minor release:
5353

5454
```bash
55-
git tag v1
55+
git tag v2
5656
git push --tags
5757
```
5858

5959
Replacing an already existing minor release:
6060

6161
```bash
62-
git tag -d v1
63-
git push origin :refs/tags/v1
64-
git tag v1
62+
git tag -d v2
63+
git push origin :refs/tags/v2
64+
git tag v2
6565
git push --tags
6666
```
6767

setup-and-install/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
description: 'The working directory'
77
default: '.'
88
java-version:
9-
default: '17'
9+
default: '21'
1010
description: 'Java Version'
1111
distribution:
1212
default: 'corretto'
@@ -16,7 +16,7 @@ runs:
1616
using: "composite"
1717
steps:
1818
- name: Set up JDK
19-
uses: actions/setup-java@v3
19+
uses: actions/setup-java@v4
2020
with:
2121
java-version: ${{ inputs.java-version }}
2222
distribution: ${{ inputs.distribution }}

setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
description: 'The working directory'
77
default: '.'
88
java-version:
9-
default: '17'
9+
default: '21'
1010
description: 'Java Version'
1111
distribution:
1212
default: 'corretto'
@@ -16,7 +16,7 @@ runs:
1616
using: "composite"
1717
steps:
1818
- name: Set up JDK
19-
uses: actions/setup-java@v3
19+
uses: actions/setup-java@v4
2020
with:
2121
java-version: ${{ inputs.java-version }}
2222
distribution: ${{ inputs.distribution }}

0 commit comments

Comments
 (0)