File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-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@v5
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 @@ -9,6 +9,9 @@ name: Clean
99
1010on : push
1111
12+ permissions :
13+ actions : write
14+
1215jobs :
1316 delete-artifacts :
1417 name : Delete Artifacts
1720 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1821 steps :
1922 - name : Delete artifacts
23+ shell : bash {0}
2024 run : |
2125 # Customize those three lines with your repository and credentials:
2226 REPO=${GITHUB_API_URL}/repos/${{ github.repository }}
2529 ghapi() { curl --silent --location --user _:$GITHUB_TOKEN "$@"; }
2630
2731 # A temporary file which receives HTTP response headers.
28- TMPFILE=/tmp/tmp.$$
32+ TMPFILE=$(mktemp)
2933
3034 # An associative array, key: artifact name, value: number of artifacts of that name.
3135 declare -A ARTCOUNT
You can’t perform that action at this time.
0 commit comments