mirror of
https://github.com/YouHaveTrouble/BlockEdit.git
synced 2026-06-29 13:36:19 +00:00
yet another versioned name attempt
This commit is contained in:
@@ -14,11 +14,11 @@ jobs:
|
||||
java-version: 17
|
||||
distribution: 'temurin'
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
run: mvn -B package --file pom.xml -Drevision=BlockEdit-${{ github.ref_name }}-${{ github.sha::6 }}
|
||||
- name: Copy artifacts
|
||||
run: mkdir staging && cp target/BlockEdit-*.jar staging
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BlockEdit
|
||||
name: BlockEdit-${GITHUB_REF}-${GITHUB_SHA::6}
|
||||
path: staging
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>me.youhavetrouble</groupId>
|
||||
<artifactId>BlockEdit</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>${revision}</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>BlockEdit</name>
|
||||
@@ -15,6 +15,7 @@
|
||||
<properties>
|
||||
<java.version>16</java.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<revision>1.0-SNAPSHOT</revision>
|
||||
</properties>
|
||||
<url>youhavetrouble.me</url>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user