@@ -28,8 +28,20 @@ jobs:
|
|||||||
- name: Build and package with Maven
|
- name: Build and package with Maven
|
||||||
run: mvn -B package
|
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
|
- name: Upload built artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: maven-artifacts
|
name: maven-artifacts
|
||||||
path: target/spigot/*.jar
|
path: target/spigot/*.jar
|
||||||
|
|
||||||
|
- uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
artifacts: '*.jar'
|
||||||
|
name: '${{ steps.set-version.outputs.version }} Release'
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>xyz.fortern</groupId>
|
<groupId>xyz.fortern</groupId>
|
||||||
<artifactId>fortern-helper</artifactId>
|
<artifactId>fortern-helper</artifactId>
|
||||||
<version>1.2</version>
|
<version>1.3</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>fortern-helper</name>
|
<name>fortern-helper</name>
|
||||||
|
|||||||
Reference in New Issue
Block a user