From e2afd1c735c078b68b2e7921b75a574aa719f8d6 Mon Sep 17 00:00:00 2001 From: San Kang Date: Mon, 14 Aug 2023 20:14:04 +0900 Subject: [PATCH] Fix: GHA --- .github/workflows/release-icon.yml | 2 +- build.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-icon.yml b/.github/workflows/release-icon.yml index 962b327..e6e6307 100644 --- a/.github/workflows/release-icon.yml +++ b/.github/workflows/release-icon.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install inkscape - run: apt update && apt install inkscape + run: sudo apt update && sudo apt install inkscape - name: Run build script run: chmod +x ./build.sh && ./build.sh - name: Archive icons diff --git a/build.sh b/build.sh index 2c795b2..340d5b4 100644 --- a/build.sh +++ b/build.sh @@ -2,6 +2,7 @@ outputSize=512 echo "Begin conversion..." echo "" +mkdir out for file in ./res/*.svg; do filename=$(basename -- "$file")