Skip to content

Commit 4bdb932

Browse files
committed
Regenerate GitHub Actions workflow
Executed command: sbt githubWorkflowGenerate
1 parent 9332f70 commit 4bdb932

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff 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@v5
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

.github/workflows/clean.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ name: Clean
99

1010
on: push
1111

12+
permissions:
13+
actions: write
14+
1215
jobs:
1316
delete-artifacts:
1417
name: Delete Artifacts
@@ -17,6 +20,7 @@ jobs:
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 }}
@@ -25,7 +29,7 @@ jobs:
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

0 commit comments

Comments
 (0)