ver 1.3
Build Plugin / Build with Maven (push) Successful in 57s

This commit is contained in:
2026-06-07 19:33:14 +08:00
parent d850455b98
commit cb70a2d98a
2 changed files with 14 additions and 2 deletions
+13 -1
View File
@@ -28,8 +28,20 @@ jobs:
- name: Build and package with Maven
run: mvn -B package
- name: Determine version
id: set-version
shell: bash
run: |
VERSION=${GITHUB_REF#refs/tags/ver/}
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Upload built artifacts
uses: actions/upload-artifact@v3
with:
name: maven-artifacts
path: target/spigot/*.jar
path: target/spigot/*.jar
- uses: ncipollo/release-action@v1
with:
artifacts: target/spigot/*.jar
name: '${{ steps.set-version.outputs.version }} Release'