fix(build): Fixed workflows

This commit is contained in:
Adrian3d04 2022-08-04 23:00:25 +00:00
parent a401655551
commit 07c6bc99eb

View File

@ -15,19 +15,17 @@ jobs:
with: with:
java-version: 17 java-version: 17
distribution: 'temurin' distribution: 'temurin'
cache: 'maven' cache: 'gradle'
- name: Build with Maven - name: Build with Gradle
uses: nick-invision/retry@v2 uses: nick-invision/retry@v2
with: with:
timeout_minutes: 5 timeout_minutes: 5
max_attempts: 2 max_attempts: 2
command: mvn -B package --file pom.xml command: gradle clean build
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: AuthmeVelocity name: AuthMeVelocity
path: | path: build/libs/AuthMeVelocity.jar
proxy/target/AuthMeVelocity-proxy.jar
spigot/target/AuthMeVelocity-spigot.jar