diff --git a/.github/workflows/build-theme.yml b/.github/workflows/build-theme.yml index d4a6405..ffe25a4 100644 --- a/.github/workflows/build-theme.yml +++ b/.github/workflows/build-theme.yml @@ -14,10 +14,8 @@ jobs: - run: pnpm add gscan - name: check if zip avaiable or not run: | - if which zip > /dev/null; then - echo "wget command exists." - else - echo "wget command does not exist." + if ! [ -x "$(command -v zip)" ]; then + apt-get install zip -y 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 \ No newline at end of file