Files
backend-springboot/.github/workflows/workflow.yml
heyethereum 7b5a7f602c sample build
2024-06-17 18:28:22 +08:00

22 lines
390 B
YAML

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