diff --git a/.github/workflows/workflow_file.yml b/.github/workflows/workflow_file.yml new file mode 100644 index 0000000..fb4d018 --- /dev/null +++ b/.github/workflows/workflow_file.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Run translation action + uses: usthe/issues-translate-action@v2.7 + with: + token: ${{ secrets.CORRECT_SECRET }} + + - name: Build with Maven + run: mvn -B package --file pom.xml