From 168fa3e004380bacb9b8771a00ad619fa81a0d91 Mon Sep 17 00:00:00 2001 From: Paul Bailey Date: Thu, 7 Sep 2023 12:01:32 -0500 Subject: [PATCH] zip workflow --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bbfe4d7..3f1e37d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: - 'v*' jobs: - build: runs-on: ubuntu-latest env: @@ -15,14 +14,14 @@ jobs: contents: write steps: - name: Install Hugo CLI - run: | - wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb + run: | + wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ + && sudo dpkg -i ${{ runner.temp }}/hugo.deb - uses: actions/checkout@v3 - name: Install Node.js dependencies - run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" - name: Build Zip - run: "./build-zip.sh ${{github.ref_name}}" + run: "./build-zip.sh ${{github.ref_name}}" - name: Upload zip uses: ncipollo/release-action@v1 with: