diff --git a/.github/workflows/build-helper.yml b/.github/workflows/build-helper.yml index 9ab1dba06..9e38f686c 100644 --- a/.github/workflows/build-helper.yml +++ b/.github/workflows/build-helper.yml @@ -18,7 +18,7 @@ jobs: arch: - "amd64" - "arm64" - runner: "ubuntu-latest" + runner: "ubuntu-latest-large" scripthaus: "build-package-linux" runs-on: ${{ matrix.runner }} steps: @@ -59,12 +59,13 @@ jobs: - name: Build run: | for arch in ${{ matrix.arch }}; do + echo "Building for ${{ matrix.platform }}/$arch" GOARCH=$arch ./scripthaus/scripthaus run ${{ matrix.scripthaus }} done - uses: actions/upload-artifact@v4 with: name: waveterm-build-${{ matrix.platform }}-${{ matrix.arch }} - path: out/make/**/* + path: out/make/* retention-days: 2 upload: name: "Upload Builds" diff --git a/electron-builder.config.js b/electron-builder.config.js index 8d491d9bb..b13b2db6d 100644 --- a/electron-builder.config.js +++ b/electron-builder.config.js @@ -9,6 +9,7 @@ const config = { npmRebuild: false, nodeGypRebuild: false, electronCompile: false, + publish: null, files: [ { from: "./dist", @@ -38,7 +39,7 @@ const config = { }, ], directories: { - output: "buildres/builder", + output: "make", }, appId: pkg.build.appId, productName: pkg.productName,