From cb9585778a9ac76826040c3fbad89cb1c1d7b017 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sat, 15 Apr 2023 17:00:27 -0700 Subject: [PATCH] Third attempt to fix zipper. --- .github/workflows/release.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a05b2fb..9fd76e24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,20 +24,31 @@ jobs: run: yarn run build - name: Zip the files - uses: montudor/action-zip@v1 + uses: thedoctor0/zip-release@0.7.1 with: - args: zip -i \*.js -r frigate-hass-card.zip dist + type: zip + path: dist + filename: frigate-hass-card.zip - - name: Upload files to release + - name: Upload JS files to release uses: svenstaro/upload-release-action@2.5.0 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: dist/*.js frigate-hass-card.zip + file: dist/*.js file_glob: true tag: ${{ github.ref }} overwrite: true + - name: Upload Zip file to release + uses: svenstaro/upload-release-action@2.5.0 + + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: frigate-hass-card.zip + tag: ${{ github.ref }} + overwrite: true + - name: HACS release validation uses: hacs/action@21.12.1 with: