diff --git a/.actions/workflows/main.yml b/.actions/workflows/main.yml deleted file mode 100644 index d3ef9ff..0000000 --- a/.actions/workflows/main.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build and deploy spring app - -on: - push: - branches: - - main - - -jobs: - build-deploy: - name: Build and deploy spring boot for beginner - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup JDK 21 - uses: actions/setup-java@v4 - with: - distribution: 'corretto' - java-version: '21' - - - name: Unit Tests - run: mvn -B test --file pom.xml - - - name: Build the application - run: | - mvn clean - mvn -B package --file pom.xml - \ No newline at end of file