Skip to content

Commit 4852cfe

Browse files
Create maven.yml
1 parent ceaf024 commit 4852cfe

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }}
9+
strategy:
10+
matrix:
11+
java: [ '8' ]
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up JDK ${{ matrix.java }}
15+
uses: actions/setup-java@v4
16+
with:
17+
java-version: ${{ matrix.java }}
18+
distribution: 'temurin'
19+
- name: Build with Maven
20+
run: mvn -B package --file pom.xml
21+
- name: Upload Artifact
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: ViaProxyNoCommandRun
25+
path: target/ViaProxyNoCommandRun-1.0.0.jar

0 commit comments

Comments
 (0)