From 9a02299f324fde0dcda10ffe9c14bd7c0765ade3 Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Fri, 23 Feb 2024 19:38:34 +0530 Subject: [PATCH] Try Buliding theme --- .github/workflows/build-theme.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-theme.yml b/.github/workflows/build-theme.yml index edc010b..5b2a1dd 100644 --- a/.github/workflows/build-theme.yml +++ b/.github/workflows/build-theme.yml @@ -8,22 +8,14 @@ jobs: install: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v3 with: version: 8 - run: pnpm add gscan - - run : echo ${{ github.action_path }} - # - name: Easy Zip Files - # uses: vimtor/action-zip@v1.2 - # 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: | - # if ! [ -x "$(command -v zip)" ]; then - # echo "installing zip command" - # apt-get install zip -y - # fi - - run: ls -la - - run: pwd - # - run : zip fastest.zip assets/build/*/* partials/*/* author.hbs default.hbs error.hbs index.hbs page.hbs post.hbs tag.hbs + - name: Easy Zip Files + uses: vimtor/action-zip@v1.2 + 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 \ No newline at end of file