Skip to content

Commit

Permalink
feat: added CI-Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Troha7 committed Dec 21, 2023
1 parent ceb7d2d commit 9927f5f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 65 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI-Build
on:
push:
branches:
- develop
pull_request:
branches:
- develop

env:
JAVA_VERSION: '17'

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1

- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ env.JAVA_VERSION }}

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Print finished building
run: echo "The app building finished successfully!"
65 changes: 0 additions & 65 deletions .github/workflows/deploy.yml

This file was deleted.

0 comments on commit 9927f5f

Please sign in to comment.