From 684a3e087ab11dadd18c769c2d985aa197529aba Mon Sep 17 00:00:00 2001 From: DC23 Date: Wed, 27 Nov 2024 22:36:45 +1100 Subject: [PATCH 1/2] trying to remove default build artifacts --- .github/workflows/release-creation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-creation.yml b/.github/workflows/release-creation.yml index d07971b..3a30268 100644 --- a/.github/workflows/release-creation.yml +++ b/.github/workflows/release-creation.yml @@ -37,6 +37,7 @@ jobs: allowUpdates: true # Set this to false if you want to prevent updating existing releases draft: false prerelease: false + removeArtifacts: true # does this remove the default artifacts? artifacts: './system.json, ./${{ github.event.release.tag_name }}.zip' tag: ${{ github.event.release.tag_name }} body: ${{ github.event.release.body }} From de065059cbf348106748275c7fd67120d9f0b435 Mon Sep 17 00:00:00 2001 From: DC23 Date: Wed, 27 Nov 2024 22:37:44 +1100 Subject: [PATCH 2/2] adding missing release name from zip file download path in system.json --- .github/workflows/release-creation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-creation.yml b/.github/workflows/release-creation.yml index 3a30268..e7388a2 100644 --- a/.github/workflows/release-creation.yml +++ b/.github/workflows/release-creation.yml @@ -22,7 +22,7 @@ jobs: version: ${{github.event.release.tag_name}} url: https://github.com/${{github.repository}} manifest: https://github.com/${{github.repository}}/releases/latest/download/system.json - download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}.zip + download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.name}}/${{github.event.release.tag_name}}.zip # Create a zip file with all files required by the module to add to the release - run: zip -r ./${{github.event.release.tag_name}}.zip system.json template.json LICENSE lang/ module/ styles/ templates/