sample build

This commit is contained in:
heyethereum
2024-06-17 18:28:22 +08:00
parent 29e0958635
commit 7b5a7f602c

21
.github/workflows/workflow.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Deploy jar to EC2
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml