File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,13 @@ inputs:
7
7
default : 1.10.3
8
8
runs :
9
9
using : " composite"
10
-
11
10
steps :
12
11
- name : Set up cache paths
13
12
id : cache-paths
14
13
shell : bash
15
14
run : |
16
15
echo "sbt_toolpath=$RUNNER_TOOL_CACHE/sbt/${{ inputs.sbt-runner-version }}" >> "$GITHUB_OUTPUT"
17
16
echo "sbt_downloadpath=$RUNNER_TEMP/_sbt" >> "$GITHUB_OUTPUT"
18
-
19
17
- name : Check Tool Cache
20
18
id : cache-tool-dir
21
19
shell : bash
@@ -26,15 +24,13 @@ runs:
26
24
else
27
25
echo "cache-hit=false" >> "$GITHUB_OUTPUT"
28
26
fi
29
-
30
27
- name : Cache sbt distribution
31
28
id : cache-dir
32
29
if : steps.cache-tool-dir.outputs.cache-hit != 'true'
33
30
uses : actions/cache@v4
34
31
with :
35
32
path : ${{ steps.cache-paths.outputs.sbt_toolpath }}
36
33
key : ${{ runner.os }}-sbt-${{ inputs.sbt-runner-version }}-1.1.4
37
-
38
34
- name : " Download and Install sbt"
39
35
shell : bash
40
36
env :
48
44
pushd "${{ steps.cache-paths.outputs.sbt_downloadpath }}"
49
45
unzip -o "sbt-${{ inputs.sbt-runner-version }}.zip" -d "${{ steps.cache-paths.outputs.sbt_toolpath }}"
50
46
popd
51
-
52
47
- name : " Setup PATH"
53
48
shell : bash
54
49
run : |
You can’t perform that action at this time.
0 commit comments