File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,14 @@ runs:
12
12
id : cache-paths
13
13
shell : bash
14
14
run : |
15
- if [[ "$RUNNER_OS" == "Windows" ]]; then
16
- echo "setupsbt_path=D:/a/_setupsbt" >> $GITHUB_OUTPUT
17
- elif [[ "$RUNNER_OS" == "macOS" ]]; then
18
- echo "setupsbt_path=/Users/runner/work/_setupsbt" >> $GITHUB_OUTPUT
19
- else
20
- echo "setupsbt_path=/home/runner/work/_setupsbt" >> $GITHUB_OUTPUT
21
- fi
15
+ echo "setupsbt_path=$HOME/work/_setupsbt" >> $GITHUB_OUTPUT
22
16
23
17
- name : Cache sbt distribution
24
18
id : cache-dir
25
19
uses : actions/cache@v4
26
20
with :
27
21
path : ${{ steps.cache-paths.outputs.setupsbt_path }}
28
- key : ${{ runner.os }}-sbt-${{ inputs.sbt-runner-version }}
22
+ key : ${{ runner.os }}-sbt-${{ inputs.sbt-runner-version }}-1.1.1
29
23
30
24
- name : " Install sbt"
31
25
shell : bash
You can’t perform that action at this time.
0 commit comments