fix: players not able to vote on some requests #1233
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: true | |
max-parallel: 4 | |
matrix: | |
java-version: [ 16, 17 ] | |
runs-on: ubuntu-latest | |
name: Java ${{ matrix.java-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: "Set up JDK ${{ matrix.java-version }}" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "${{ matrix.java-version }}" | |
distribution: 'adopt' | |
cache: 'maven' | |
- name: Build with Maven | |
run: ./mvnw -B -U package --file pom.xml | |
- name: Upload Build Artifact | |
if: "${{ matrix.java-version == 16 }}" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SimpleClans | |
path: target/SimpleClans.jar |