Skip to content

Commit

Permalink
convert into zip
Browse files Browse the repository at this point in the history
  • Loading branch information
officialrajdeepsingh committed Feb 21, 2024
1 parent 2eb2b32 commit 04d3ab7
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm add gscan
- uses: vimtor/[email protected]
with:
files: assets/build/ partials/ author.hbs default.hbs error.hbs index.hbs page.hbs post.hbs tag.hbs
dest: ${{ github.workspace }}/fastest.zip
- run: pnpm run gscan ${{ github.workspace }}/fastest.zip
- 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
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

0 comments on commit 04d3ab7

Please sign in to comment.