Skip to content

Commit 45d9c15

Browse files
authored
ci pipeline build and test on pull request (#4)
* ci * trigger build * trigger build * upload jar * activate
1 parent 832005b commit 45d9c15

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.DS_Store

6 KB
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: build and test on pull request
2+
on:
3+
pull_request:
4+
branches: [main]
5+
jobs:
6+
build-and-test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v5
10+
- name: Set up JDK 8 for x64
11+
uses: actions/setup-java@v4
12+
with:
13+
java-version: "8"
14+
distribution: "temurin"
15+
architecture: x64
16+
- run: mvn package -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
17+
- run: mkdir staging && cp target/*.jar staging
18+
- uses: actions/upload-artifact@v4
19+
with:
20+
name: Package
21+
path: staging

0 commit comments

Comments
 (0)