Skip to content

Commit 22d1b2f

Browse files
check zip command
1 parent 04d3ab7 commit 22d1b2f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build-theme.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
- run: pnpm add gscan
1515
- name: check if zip avaiable or not
1616
run: |
17-
if ! command -v zip &> /dev/null
18-
echo "install the zip package ... "
19-
apt-get install -y zip
17+
if which zip > /dev/null; then
18+
echo "wget command exists."
19+
else
20+
echo "wget command does not exist."
2021
fi
21-
- run : zip fastest.zip assets/build/*/* partials/*/* author.hbs default.hbs error.hbs index.hbs page.hbs post.hbs tag.hbs
22-
- run: pnpm run gscan fastest.zip
22+
# - run : zip fastest.zip assets/build/*/* partials/*/* author.hbs default.hbs error.hbs index.hbs page.hbs post.hbs tag.hbs
23+
# - run: pnpm run gscan fastest.zip

0 commit comments

Comments
 (0)