refactor: upload artifacts properly

main
sgoudham 2 years ago
parent d30bfadb04
commit 6cbc180ca7
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -51,14 +51,17 @@ jobs:
- name: Archive Jar - name: Archive Jar
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ env.NAME }}-${{ env.VERSION }}.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}.jar path: ./target/${{ env.NAME }}-${{ env.VERSION }}.jar
- name: Archive Javadoc - name: Archive Javadoc
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ env.NAME }}-${{ env.VERSION }}-javadoc.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-javadoc.jar path: ./target/${{ env.NAME }}-${{ env.VERSION }}-javadoc.jar
- name: Archive Sources - name: Archive Sources
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ env.NAME }}-${{ env.VERSION }}-sources.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-sources.jar path: ./target/${{ env.NAME }}-${{ env.VERSION }}-sources.jar

@ -51,16 +51,19 @@ jobs:
- name: Archive Jar - name: Archive Jar
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ env.NAME }}-${{ env.VERSION }}.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}.jar path: ./target/${{ env.NAME }}-${{ env.VERSION }}.jar
- name: Archive Javadoc - name: Archive Javadoc
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ env.NAME }}-${{ env.VERSION }}-javadoc.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-javadoc.jar path: ./target/${{ env.NAME }}-${{ env.VERSION }}-javadoc.jar
- name: Archive Sources - name: Archive Sources
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ env.NAME }}-${{ env.VERSION }}-sources.jar
path: ./target/${{ env.NAME }}-${{ env.VERSION }}-sources.jar path: ./target/${{ env.NAME }}-${{ env.VERSION }}-sources.jar
- name: Create Release - name: Create Release

Loading…
Cancel
Save