Skip to content

Commit ccfb8c1

Browse files
sbt-github-actions 0.22.0 (was 0.16.0) (#269)
1 parent 271051f commit ccfb8c1

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
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
@@ -50,7 +50,7 @@ jobs:
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

.github/workflows/clean.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
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 }}
@@ -25,7 +26,7 @@ jobs:
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

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
22
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")
44
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")

0 commit comments

Comments
 (0)