Update build.yml

This commit is contained in:
Koopa 2025-01-31 20:31:55 -05:00
parent 0975f5611b
commit db8aa59c07

View File

@ -15,10 +15,10 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
@ -28,7 +28,7 @@ jobs:
run: mvn -B package --file pom.xml
- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NoBullying
path: target/nobullying-*.jar
@ -43,11 +43,11 @@ jobs:
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: NoBullying
- name: Upload release artifacts
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: nobullying-*.jar