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