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 3434
3535 - name : Setup Java (temurin@11)
3636 if : matrix.java == 'temurin@11'
37- uses : actions/setup-java@v3
37+ uses : actions/setup-java@v4
3838 with :
3939 distribution : temurin
4040 java-version : 11
5050 run : tar cf targets.tar target project/target
5151
5252 - name : Upload target directories
53- uses : actions/upload-artifact@v3
53+ uses : actions/upload-artifact@v4
5454 with :
5555 name : target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
5656 path : targets.tar
@@ -73,14 +73,14 @@ jobs:
7373
7474 - name : Setup Java (temurin@11)
7575 if : matrix.java == 'temurin@11'
76- uses : actions/setup-java@v3
76+ uses : actions/setup-java@v4
7777 with :
7878 distribution : temurin
7979 java-version : 11
8080 cache : sbt
8181
8282 - name : Download target directories (2.12.18)
83- uses : actions/download-artifact@v3
83+ uses : actions/download-artifact@v4
8484 with :
8585 name : target-${{ matrix.os }}-2.12.18-${{ matrix.java }}
8686
Original file line number Diff line number Diff line change 1717 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1818 steps :
1919 - name : Delete artifacts
20+ shell : bash {0}
2021 run : |
2122 # Customize those three lines with your repository and credentials:
2223 REPO=${GITHUB_API_URL}/repos/${{ github.repository }}
2526 ghapi() { curl --silent --location --user _:$GITHUB_TOKEN "$@"; }
2627
2728 # A temporary file which receives HTTP response headers.
28- TMPFILE=/tmp/tmp.$$
29+ TMPFILE=$(mktemp)
2930
3031 # An associative array, key: artifact name, value: number of artifacts of that name.
3132 declare -A ARTCOUNT
Original file line number Diff line number Diff line change 11addSbtPlugin(" de.heikoseeberger" % " sbt-header" % " 5.10.0" )
22addSbtPlugin(" 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" )
44addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.5.12" )
You can’t perform that action at this time.
0 commit comments