File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 34
34
35
35
- name : Setup Java (temurin@11)
36
36
if : matrix.java == 'temurin@11'
37
- uses : actions/setup-java@v3
37
+ uses : actions/setup-java@v4
38
38
with :
39
39
distribution : temurin
40
40
java-version : 11
50
50
run : tar cf targets.tar target project/target
51
51
52
52
- name : Upload target directories
53
- uses : actions/upload-artifact@v3
53
+ uses : actions/upload-artifact@v4
54
54
with :
55
55
name : target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
56
56
path : targets.tar
@@ -73,14 +73,14 @@ jobs:
73
73
74
74
- name : Setup Java (temurin@11)
75
75
if : matrix.java == 'temurin@11'
76
- uses : actions/setup-java@v3
76
+ uses : actions/setup-java@v4
77
77
with :
78
78
distribution : temurin
79
79
java-version : 11
80
80
cache : sbt
81
81
82
82
- name : Download target directories (2.12.18)
83
- uses : actions/download-artifact@v3
83
+ uses : actions/download-artifact@v4
84
84
with :
85
85
name : target-${{ matrix.os }}-2.12.18-${{ matrix.java }}
86
86
Original file line number Diff line number Diff line change 17
17
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
18
steps :
19
19
- name : Delete artifacts
20
+ shell : bash {0}
20
21
run : |
21
22
# Customize those three lines with your repository and credentials:
22
23
REPO=${GITHUB_API_URL}/repos/${{ github.repository }}
25
26
ghapi() { curl --silent --location --user _:$GITHUB_TOKEN "$@"; }
26
27
27
28
# A temporary file which receives HTTP response headers.
28
- TMPFILE=/tmp/tmp.$$
29
+ TMPFILE=$(mktemp)
29
30
30
31
# An associative array, key: artifact name, value: number of artifacts of that name.
31
32
declare -A ARTCOUNT
Original file line number Diff line number Diff line change 1
1
addSbtPlugin(" de.heikoseeberger" % " sbt-header" % " 5.10.0" )
2
2
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.6" )
3
- addSbtPlugin(" com.github.sbt" % " sbt-github-actions" % " 0.16 .0" )
3
+ addSbtPlugin(" com.github.sbt" % " sbt-github-actions" % " 0.22 .0" )
4
4
addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.5.12" )
You can’t perform that action at this time.
0 commit comments