Skip to content

Commit fa29e67

Browse files
authored
Update ci.yml
1 parent f2576c3 commit fa29e67

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

.github/workflows /ci.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
name: CI
22

3-
on: push: branches: [ main ]
3+
on:
4+
push:
5+
branches: [ main ]
46

5-
jobs: build_and_push:
6-
runs-on: ubuntu-latest
7-
permissions: contents: read
8-
steps:
9-
- name: Checkout repository
10-
uses: actions/checkout@v4
11-
- uses: coursier/cache-action@v6
12-
- uses: coursier/setup-action@v1
13-
with:
14-
jvm: temurin:21
15-
apps: sbt bloop sbtn
7+
jobs:
8+
build_and_push:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
#packages: write # Needed to push packages to ghcr.io
1613

17-
- name: Run SBT stage
18-
run: sbt compile
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
- uses: coursier/cache-action@v6
18+
- uses: coursier/setup-action@v1
19+
with:
20+
jvm: temurin:21
21+
apps: sbt bloop sbtn
22+
23+
- name: compile
24+
run: sbt compile

0 commit comments

Comments
 (0)