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