Skip to content

Commit 7c3b6ac

Browse files
committed
W-17683749: Add build to githubactions
1 parent 2818987 commit 7c3b6ac

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build AMF
2+
3+
on:
4+
push:
5+
branches:
6+
- W-17683749
7+
pull_request:
8+
branches:
9+
- W-17683749
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Set up JDK 11
20+
uses: actions/setup-java@v3
21+
with:
22+
distribution: 'temurin'
23+
java-version: '11'
24+
25+
- name: Cache SBT dependencies
26+
uses: actions/cache@v3
27+
with:
28+
path: ~/.ivy2/cache
29+
key: sbt-${{ runner.os }}-${{ hashFiles('**/build.sbt') }}
30+
restore-keys: sbt-${{ runner.os }}-
31+
32+
- name: Run SBT build
33+
run: sbt compile

0 commit comments

Comments
 (0)