feat: New Battle update logic #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Backend | |
on: | |
push: | |
branches: ['master'] | |
paths: ['IT/codekatabattle/**/*'] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
working-directory: ./IT/codekatabattle | |
run: mvn -B package --file pom.xml -DskipTests | |
- name: Run Tests with Maven | |
working-directory: ./IT/codekatabattle | |
run: mvn test | |
env: | |
CKB_GITHUB_PAT: ${{ secrets.CKB_GITHUB_PAT }} | |
CKB_GITHUB_TEST_PAT: ${{ secrets.CKB_GITHUB_TEST_PAT }} |