Skip to content

Commit e062e8d

Browse files
committed
#228: add GitHub actions to build the application
1 parent 8a7534b commit e062e8d

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
main:
13+
runs-on: ${{ matrix.image }}
14+
strategy:
15+
matrix:
16+
image: [ ubuntu-20.04, windows-2019 ]
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: SBT Cache
20+
uses: actions/cache@v2
21+
with:
22+
path: |
23+
~/.ivy2/cache
24+
~/.sbt
25+
key: ${{ runner.os }}.sbt.${{ hashFiles('**/*.sbt') }}+${{ hashFiles('project/build.properties') }}
26+
27+
- name: Build
28+
run: sbt dist

0 commit comments

Comments
 (0)