File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -23,22 +23,25 @@ jobs:
2323 matrix :
2424 os : [ubuntu-latest]
2525 scala : [2.12.18, 2.13.12, 3.3.1]
26- java : [temurin @8]
26+ java : [zulu @8]
2727 runs-on : ${{ matrix.os }}
2828 steps :
2929 - name : Checkout current branch (full)
30- uses : actions/checkout@v3
30+ uses : actions/checkout@v4
3131 with :
3232 fetch-depth : 0
3333
34- - name : Setup Java (temurin @8)
35- if : matrix.java == 'temurin @8'
36- uses : actions/setup-java@v3
34+ - name : Setup Java (zulu @8)
35+ if : matrix.java == 'zulu @8'
36+ uses : actions/setup-java@v4
3737 with :
38- distribution : temurin
38+ distribution : zulu
3939 java-version : 8
4040 cache : sbt
4141
42+ - name : Setup sbt
43+ uses : sbt/setup-sbt@v1
44+
4245 - name : Check that workflows are up to date
4346 run : sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
4447
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
You can’t perform that action at this time.
0 commit comments