refactor: tidy up

main
sgoudham 2 years ago
parent 603bb0e33e
commit 442ce80d50
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -33,14 +33,6 @@ jobs:
- name: Test
run: mvn test
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./target/site/jacoco
files: jacoco.xml
fail_ci_if_error: false
- name: Retrieve Name & Version
run: |
echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
@ -63,3 +55,9 @@ jobs:
with:
name: ${{ env.NAME }}-${{ env.VERSION }}-sources.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-sources.jar
- name: Archive Shaded Jar
uses: actions/upload-artifact@v3
with:
name: ${{ env.NAME }}-${{ env.VERSION }}-shaded.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-shaded.jar

@ -57,6 +57,12 @@ jobs:
name: ${{ env.NAME }}-${{ env.VERSION }}-sources.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-sources.jar
- name: Archive Shaded Jar
uses: actions/upload-artifact@v3
with:
name: ${{ env.NAME }}-${{ env.VERSION }}-shaded.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-shaded.jar
- name: Create Release
uses: ncipollo/release-action@v1
with:

@ -144,9 +144,8 @@
<goal>shade</goal>
</goals>
<configuration>
<!-- <outputFile>${project}-${version}-shaded</outputFile>-->
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName> <!-- Any name that makes sense -->
<shadedClassifierName>shaded</shadedClassifierName>
</configuration>
</execution>
</executions>

Loading…
Cancel
Save