ci: harden artifact and release tooling
CI / build (push) Successful in 1m25s
Release / release (push) Successful in 1m51s

This commit is contained in:
dmg
2026-08-01 11:55:45 -04:00
parent ccac20fa2b
commit baed3b4901
2 changed files with 4 additions and 10 deletions
+1 -7
View File
@@ -32,15 +32,9 @@ jobs:
- name: Build and test
run: ./gradlew clean check jar
- name: Name development artifact
run: |
short_sha=$(printf '%s' "$GITHUB_SHA" | cut -c1-7)
cp build/libs/spigot-event-producer-0.1.0-SNAPSHOT.jar \
"build/libs/spigot-event-producer-dev-${short_sha}.jar"
- name: Upload development artifact
uses: actions/upload-artifact@v3
with:
name: spigot-event-producer-${{ github.sha }}
path: build/libs/spigot-event-producer-dev-*.jar
path: build/libs/*.jar
if-no-files-found: error