From 7e3ee7f4929978284c119601fb842fcf234a820a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Mon, 30 Oct 2023 12:13:22 +0000 Subject: [PATCH] ci: update workflow (#48) --- .github/workflows/update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index c12f46d..b5d09f6 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -44,10 +44,10 @@ jobs: - name: Download iconoir if: steps.new-version.outputs.exists run: | - curl -sSL https://github.com/${{ env.repository }}/archive/refs/tags/${{ steps.latest-version.outputs.release }}.zip -o iconoir.zip + curl -sSL https://github.com/${{ env.repository }}/archive/refs/tags/${{ steps.latest-version.outputs.release }}.tar.gz -o iconoir.tar.gz rm resources/svg/*.svg - unzip -jo iconoir.zip 'iconoir-*/icons/*.svg' -d resources/svg - rm iconoir.zip + tar -C resources/svg --strip-components=2 -zxvf iconoir.tar.gz 'iconoir-*/icons/**/*.svg' + rm iconoir.tar.gz - name: Update .version if: steps.new-version.outputs.exists