Skip to content

Commit

Permalink
Updated server CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
RowenTey committed Apr 11, 2024
1 parent 56f5c2d commit 1856e93
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/server.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,18 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: "17"
distribution: "adopt"

distribution: "adopt"\

- name: Run unit tests
working-directory: "./server"
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
run: mvn test

- name: Build with Maven
working-directory: "./server"
run: mvn clean install
run: mvn clean install -D maven.test.skip

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down

0 comments on commit 1856e93

Please sign in to comment.