Version bump, release update.
This commit is contained in:
parent
7a516faf30
commit
700c30f79f
|
@ -20,16 +20,17 @@ jobs:
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
|
|
||||||
|
- name: Extract Tag Version
|
||||||
|
id: get_version
|
||||||
|
run: echo "tag_version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
mvn -B package --file pom.xml
|
mvn -B package --file pom.xml
|
||||||
asset=$(find target/ -type f -name "*jar-with-dependencies.jar")
|
asset=$(find target/ -type f -name "*jar-with-dependencies.jar")
|
||||||
echo "asset_path=$asset" >> $GITHUB_OUTPUT
|
cp $asset materials-extractor-${{steps.get_version.outputs.tag_version}}.jar
|
||||||
|
echo "asset_path=materials-extractor-${{steps.get_version.outputs.tag_version}}.jar" >> $GITHUB_OUTPUT
|
||||||
- name: Extract Tag Version
|
|
||||||
id: get_version
|
|
||||||
run: echo "tag_version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Logs
|
- name: Logs
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,13 +43,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: MaterialsExtractor ${{steps.get_version.outputs.tag_version}}
|
name: MaterialsExtractor ${{steps.get_version.outputs.tag_version}}
|
||||||
files: ${{steps.build.outputs.asset_path}}
|
files: ${{steps.build.outputs.asset_path}}
|
||||||
|
|
||||||
# - name: Upload Asset
|
|
||||||
# uses: actions/upload-release-asset@v1
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
# with:
|
|
||||||
# upload_url: ${{steps.create_release.outputs.upload_url}}
|
|
||||||
# asset_name: materials-extractor-${{steps.get_version.outputs.tag_version}}.jar
|
|
||||||
# asset_path: ${{steps.build.outputs.asset_path}}
|
|
||||||
# asset_content_type: application/java-archive
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>nl.andrewlalis</groupId>
|
<groupId>nl.andrewlalis</groupId>
|
||||||
<artifactId>materials-extractor</artifactId>
|
<artifactId>materials-extractor</artifactId>
|
||||||
<version>0.0.1</version>
|
<version>0.0.2</version>
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
|
|
Loading…
Reference in New Issue