diff --git a/.github/workflows/CI-Backend.yml b/.github/workflows/CI-Backend.yml new file mode 100644 index 0000000..3bfe0f4 --- /dev/null +++ b/.github/workflows/CI-Backend.yml @@ -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