diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..a3e7d28 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,21 @@ +on: [push] +jobs: + build: + runs-on: node-16 + steps: + - uses: https://github.com/actions/checkout@v4 + - name: Set up JDK 22 + uses: https://github.com/actions/setup-java@v4 + with: + java-version: '22' + distribution: 'temurin' + cache: maven + - name: Set up Maven + uses: https://github.com/stCarolas/setup-maven@v5 + with: + maven-version: 3.8.7 + - name: Build with Maven + run: mvn package + - uses: https://github.com/actions/upload-artifact@v3 + with: + path: target/lobby-1.0-SNAPSHOT-jar-with-dependencies.jar \ No newline at end of file