diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4fc066c..f463d92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -254,14 +254,14 @@ jobs: run: | Copy-Item ggml/LICENSE .\build\bin\Release\ggml.txt Copy-Item LICENSE .\build\bin\Release\stable-diffusion.cpp.txt - 7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-windows-cuda-${{ matrix.sm }}-x64.7z .\build\bin\Release\* + 7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-windows-cuda-${{ matrix.sm }}-x64.zip .\build\bin\Release\* - name: Upload artifacts if: ${{ github.event_name == 'schedule' || github.event.inputs.create_release == 'true' }} uses: actions/upload-artifact@v4 with: - name: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-windows-cuda-${{ matrix.sm }}-x64.7z - path: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-windows-cuda-${{ matrix.sm }}-x64.7z + name: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-windows-cuda-${{ matrix.sm }}-x64.zip + path: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-windows-cuda-${{ matrix.sm }}-x64.zip windows-latest-cmake: runs-on: windows-2022 @@ -881,7 +881,7 @@ jobs: const fs = require('fs'); const release_id = '${{ steps.create_release.outputs.id }}'; for (let file of await fs.readdirSync('./artifact')) { - if (path.extname(file) === '.zip' || file.endsWith('.tar.xz') || path.extname(file) === '.7z') { + if (path.extname(file) === '.zip' || file.endsWith('.tar.xz')) { console.log('uploadReleaseAsset', file); await github.repos.uploadReleaseAsset({ owner: context.repo.owner,