Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ runs:
steps:
- name: Setup java
if: ${{ inputs.cache }}
uses: actions/setup-java@v4.5.0
uses: actions/setup-java@f4f1212c880fdec8162ea9a6493f4495191887b4
with:
distribution: ${{ inputs.distribution }}
overwrite-settings: ${{ inputs.overwrite-settings }}
java-version: ${{ inputs.java-version }}
cache: ${{ inputs.cache == 'true' && 'maven' || '' }}

- name: Set up Maven
uses: stCarolas/setup-maven@v5
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think common practice is to put the version that's being pinned as a comment in the same line so that people know which version the hash is referring to. Could you do that here and for the action above it?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Also realized I should use release version, not latest commit

with:
maven-version: ${{ inputs.maven-version }}