upload built jar to artifacts

This commit is contained in:
2024-10-22 20:41:17 +02:00
parent b2d5af83de
commit 325a997f8f
+5
View File
@@ -17,3 +17,8 @@ jobs:
run: fullCommit=${{ github.sha }} && echo "SHORT_SHA=${fullCommit:0:8}" >> $GITHUB_ENV run: fullCommit=${{ github.sha }} && echo "SHORT_SHA=${fullCommit:0:8}" >> $GITHUB_ENV
- name: Build with Maven - name: Build with Maven
run: mvn -B clean package --file pom.xml -Drevision=${{ github.ref_name }}-${SHORT_SHA} run: mvn -B clean package --file pom.xml -Drevision=${{ github.ref_name }}-${SHORT_SHA}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact
path: 'target/Enchantio-*.jar'