From 54c9ce7b96fbb454a127e83db6293593af52ee4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=CE=B1x?= <34509813+Mw3y@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:10:31 +0100 Subject: [PATCH] Build jar --- .github/workflows/maven.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0a786a9..c377255 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -20,13 +20,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v3 with: java-version: '17' distribution: 'temurin' - cache: maven - - name: Build with Maven - run: mvn -B package --file pom.xml - + - run: mvn --batch-mode --update-snapshots verify + - run: mkdir staging && cp target/*.jar staging + - uses: actions/upload-artifact@v3 + with: + name: PokeMAN + path: staging