Skip to content

Commit

Permalink
Merge pull request #7 from kavicastelo/ci-cd-backend
Browse files Browse the repository at this point in the history
Create CI-Backend.yml
  • Loading branch information
kavicastelo authored Jun 16, 2024
2 parents bb9be82 + 382b8d9 commit b8617bc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/CI-Backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI-Backend

on:
push:
branches:
- '*'

jobs:
build-backend:
runs-on: ubuntu-latest
steps:
- name: Swith branch
uses: actions/checkout@v4
with:
ref: backend

- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'

- name: Build backend
run: |
chmod +x ./mvnw
./mvnw clean package -DskipTests

0 comments on commit b8617bc

Please sign in to comment.