Skip to content

Commit 561f971

Browse files
New community build workflow
1 parent c3ab8ea commit 561f971

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22
on:
33
push:
44
branches:
5-
- main
5+
- FIXME
66
pull_request:
77
jobs:
88
test:
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Community build
2+
on:
3+
push:
4+
branches: [main]
5+
tags: ["*"]
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
fetch-depth: 0
13+
- uses: actions/setup-java@v3
14+
with:
15+
distribution: 'temurin'
16+
java-version: 11
17+
cache: 'sbt'
18+
19+
- uses: sbt/setup-sbt@v1
20+
21+
- run: sbt cli/pack
22+
23+
- run: |
24+
zip -r scip-java.zip ./scip-java/target/pack
25+
26+
- name: Upload artifacts
27+
uses: actions/upload-artifact@v4
28+
with:
29+
path: scip-java.zip
30+
name: scip-java-binary
31+
if-no-files-found: error
32+
33+
34+

0 commit comments

Comments
 (0)