Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build CI

on:
push:
branches: [ "main", "dev**" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

services:
redis:
image: redis:7
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'

- name: Make Maven Wrapper executable
run: chmod +x ./mvnw

- name: Build and Test
run: ./mvnw -B clean package

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: MioVerify-${{ github.sha }}
path: target/MioVerify-*.jar
retention-days: 30
Loading