File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ runs:
12
12
id : cache-dir
13
13
uses : actions/cache@v4
14
14
with :
15
- path : setupsbt
15
+ path : ~/ setupsbt
16
16
key : ${{ runner.os }}-sbt-${{ inputs.sbt-runner-version }}
17
17
18
18
- name : " Install sbt"
19
19
shell : bash
20
20
if : steps.cache-dir.outputs.cache-hit != 'true'
21
21
run : |
22
- mkdir -p setupsbt
23
- curl -sL https://github.com/sbt/sbt/releases/download/v$SBT_RUNNER_VERSION/sbt-$SBT_RUNNER_VERSION.zip > setupsbt/sbt-$SBT_RUNNER_VERSION.zip
24
- pushd setupsbt
22
+ mkdir -p ~/ setupsbt
23
+ curl -sL https://github.com/sbt/sbt/releases/download/v$SBT_RUNNER_VERSION/sbt-$SBT_RUNNER_VERSION.zip > ~/ setupsbt/sbt-$SBT_RUNNER_VERSION.zip
24
+ pushd ~/ setupsbt
25
25
unzip -o "sbt-$SBT_RUNNER_VERSION.zip"
26
26
popd
27
27
env :
30
30
- name : " Setup PATH"
31
31
shell : bash
32
32
run : |
33
- pushd setupsbt
33
+ pushd ~/ setupsbt
34
34
ls sbt/bin/sbt
35
35
echo "$PWD/sbt/bin" >> "$GITHUB_PATH"
36
36
popd
You can’t perform that action at this time.
0 commit comments