Update actions/restore-assets/action.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Felipe Knorr Kuhn 2026-02-15 09:48:52 -08:00 committed by GitHub
parent f6eaeb03a9
commit f1ecdff196
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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