We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4021eb9 commit 612228cCopy full SHA for 612228c
.github/workflows/build.yml
@@ -0,0 +1,32 @@
1
+name: build
2
+on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - main
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: checkout
12
+ uses: actions/checkout@v3
13
+ - name: setup
14
+ uses: actions/setup-java@v3
15
+ with:
16
+ java-version: 8
17
+ distribution: adopt
18
+ - name: cache
19
+ uses: actions/cache@v3
20
21
+ path: ~/.m2/repository
22
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23
+ restore-keys: |
24
+ ${{ runner.os }}-maven-
25
+ - name: build
26
+ run: mvn install
27
+ - name: artifact
28
+ uses: actions/upload-artifact@v3
29
30
+ name: AutoPruner-1.0.jar
31
+ path: target/AutoPruner-1.0.jar
32
+ if-no-files-found: error
0 commit comments