Skip to content

Commit 6a3974a

Browse files
kirklinrwinch
authored andcommitted
Fix GitHub Actions Deprecating save-state and set-output commands
1 parent e79ee89 commit 6a3974a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A composite action that combines the following steps:
44

5-
* Set up a JDK with `actions/setup-java@v2`
5+
* Set up a JDK with `actions/setup-java@v3`
66
* Set up a `user.name` system property with `spring-builds+github`
77
* Validate the Gradle wrapper using `gradle/wrapper-validation-action@v1`
88
* Set up Gradle using `gradle/gradle-build-action@v2` with `GRADLE_USER_HOME=/home/runner/.gradle`
@@ -25,7 +25,7 @@ Accepts the following inputs:
2525
## Example Usage
2626
2727
```yaml
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v3
2929
- uses: spring-io/spring-gradle-build-action@v1
3030
- name: Run tests
3131
run: ./gradlew test

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
using: 'composite'
1717
steps:
1818
- name: Set up JDK ${{ inputs.java-version }}
19-
uses: actions/setup-java@v2
19+
uses: actions/setup-java@v3
2020
with:
2121
java-version: ${{ inputs.java-version }}
2222
distribution: ${{ inputs.distribution }}

0 commit comments

Comments
 (0)