Skip to content

Commit

Permalink
Fix GitHub Actions Deprecating save-state and set-output commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin authored and rwinch committed Jan 18, 2023
1 parent e79ee89 commit 6a3974a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A composite action that combines the following steps:

* Set up a JDK with `actions/setup-java@v2`
* Set up a JDK with `actions/setup-java@v3`
* Set up a `user.name` system property with `spring-builds+github`
* Validate the Gradle wrapper using `gradle/wrapper-validation-action@v1`
* Set up Gradle using `gradle/gradle-build-action@v2` with `GRADLE_USER_HOME=/home/runner/.gradle`
Expand All @@ -25,7 +25,7 @@ Accepts the following inputs:
## Example Usage

```yaml
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: spring-io/spring-gradle-build-action@v1
- name: Run tests
run: ./gradlew test
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: 'composite'
steps:
- name: Set up JDK ${{ inputs.java-version }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ inputs.java-version }}
distribution: ${{ inputs.distribution }}
Expand Down

0 comments on commit 6a3974a

Please sign in to comment.