Skip to content

Commit

Permalink
check zip command
Browse files Browse the repository at this point in the history
  • Loading branch information
officialrajdeepsingh committed Feb 21, 2024
1 parent 04d3ab7 commit 22d1b2f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- run: pnpm add gscan
- name: check if zip avaiable or not
run: |
if ! command -v zip &> /dev/null
echo "install the zip package ... "
apt-get install -y zip
if which zip > /dev/null; then
echo "wget command exists."
else
echo "wget command does not exist."
fi
- run : zip fastest.zip assets/build/*/* partials/*/* author.hbs default.hbs error.hbs index.hbs page.hbs post.hbs tag.hbs
- run: pnpm run gscan fastest.zip
# - run : zip fastest.zip assets/build/*/* partials/*/* author.hbs default.hbs error.hbs index.hbs page.hbs post.hbs tag.hbs
# - run: pnpm run gscan fastest.zip

0 comments on commit 22d1b2f

Please sign in to comment.