From aa3c483a69ba48152c0adb8901e6238c755bb7f2 Mon Sep 17 00:00:00 2001 From: darksaid98 Date: Tue, 19 Nov 2024 21:36:17 +0100 Subject: [PATCH] ci: fix releasing jar files - jar files would be excluded from release due to them being nested inside the uploaded artifact --- .github/workflows/deploy.yml | 7 +++++++ .github/workflows/stage.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d970a22..53bb864 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,6 +24,13 @@ jobs: run-id: ${{ github.event.workflow_run.id }} 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 - name: Generate Changelog uses: ardalanamini/auto-changelog@v4 diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index bda5ac0..7e28402 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -120,5 +120,12 @@ jobs: name: Release path: | ${{ 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 retention-days: 7