File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -84,18 +84,19 @@ jobs:
84
84
- name : Support longpaths on Windows
85
85
if : " startsWith(matrix.os.runs-on, 'windows')"
86
86
run : git config --global core.longpaths true
87
- - uses : actions/checkout@v4
87
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
88
88
with :
89
89
# Fetch the whole history to make sure that gitflow incremental builder
90
90
# can find the base commit.
91
91
fetch-depth : 0
92
92
- name : Set up Java ${{ matrix.os.java.version }}
93
- uses : actions/setup-java@v1
93
+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # 4.7.0
94
94
with :
95
95
java-version : ${{ matrix.os.java.version }}
96
+ distribution : temurin
96
97
# https://github.com/actions/cache/blob/main/examples.md#java---maven
97
98
- name : Cache local Maven repository
98
- uses : actions/cache@v3
99
+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2
99
100
with :
100
101
path : ~/.m2/repository
101
102
key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -131,7 +132,7 @@ jobs:
131
132
echo EOF
132
133
} >> "$GITHUB_ENV"
133
134
- name : Upload build reports (if build failed)
134
- uses : actions/upload-artifact@v3
135
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
135
136
if : ${{ failure() || cancelled() }}
136
137
with :
137
138
name : ${{ format('build-reports-{0}', matrix.os.name ) }}
You can’t perform that action at this time.
0 commit comments