From f1ecdff196f53b17fbfa0a5f5de38b02442c774b Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Sun, 15 Feb 2026 09:48:52 -0800 Subject: [PATCH] Update actions/restore-assets/action.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- actions/restore-assets/action.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/actions/restore-assets/action.yml b/actions/restore-assets/action.yml index 969d75c..84b0946 100644 --- a/actions/restore-assets/action.yml +++ b/actions/restore-assets/action.yml @@ -54,9 +54,21 @@ runs: - name: Unzip mining pool assets shell: bash continue-on-error: true - run: unzip -o mining-pool-assets.zip -d ${{ inputs.frontend-path }}/src/resources/mining-pools + run: | + if [ -f "mining-pool-assets.zip" ]; then + echo "Found mining-pool-assets.zip, unzipping..." + unzip -o mining-pool-assets.zip -d "${{ inputs.frontend-path }}/src/resources/mining-pools" + else + echo "mining-pool-assets.zip not found; skipping unzip." + fi - name: Unzip promo video assets shell: bash continue-on-error: true - run: unzip -o promo-video-assets.zip -d ${{ inputs.frontend-path }}/src/resources/promo-video + run: | + if [ -f "promo-video-assets.zip" ]; then + echo "Found promo-video-assets.zip, unzipping..." + unzip -o promo-video-assets.zip -d "${{ inputs.frontend-path }}/src/resources/promo-video" + else + echo "promo-video-assets.zip not found; skipping unzip." + fi