ci: fix releasing jar files

- jar files would be excluded from release due to them being nested inside the uploaded artifact
This commit is contained in:
darksaid98 committed 2024-11-19 21:36:17 +01:00
1 parent 6834d0af4e
commit aa3c483a69
2 files changed
+14

No files matched your search

+7
View File
@@ -24,6 +24,13 @@ jobs:
run-id: ${{ github.event.workflow_run.id }} run-id: ${{ github.event.workflow_run.id }}
path: "${{ github.workspace }}/tmp/" path: "${{ github.workspace }}/tmp/"
- name: Download Snapshot Resourcepack
uses: actions/download-artifact@v4
with:
name: Release-Resourcepack
run-id: ${{ github.event.workflow_run.id }}
path: "${{ github.workspace }}/tmp/"
# Generate changelog # Generate changelog
- name: Generate Changelog - name: Generate Changelog
uses: ardalanamini/auto-changelog@v4 uses: ardalanamini/auto-changelog@v4
+7
View File
@@ -120,5 +120,12 @@ jobs:
name: Release name: Release
path: | path: |
${{ github.workspace }}/build/libs/ ${{ github.workspace }}/build/libs/
retention-days: 7
- name: Upload Snapshot Resourcepack
uses: actions/upload-artifact@v4
with:
name: Release-Resourcepack
path: |
${{ github.workspace }}/SiegeEngines-ResourcePack.zip ${{ github.workspace }}/SiegeEngines-ResourcePack.zip
retention-days: 7 retention-days: 7