diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0babf6..3a422b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,8 @@ jobs: uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v5 + with: + cache-dependency-path: verifier/go.sum - name: Build Verifier run: | pushd verifier @@ -95,3 +97,33 @@ jobs: with: name: windows-packages path: src-tauri/target/release/*.exe + - name: Compile software (debug) + run: pnpm tauri build --ci --debug + env: + SCCACHE_GHA_ENABLED: 'true' + RUSTC_WRAPPER: 'sccache' + - name: Upload the Linux packages (AppImage, debug) + uses: actions/upload-artifact@v4 + if: matrix.platform == 'ubuntu-20.04' + with: + name: linux-packages-debug + path: src-tauri/target/debug/bundle/appimage/*.AppImage + - name: Upload the Linux packages (ELF, debug) + uses: actions/upload-artifact@v4 + if: matrix.platform == 'ubuntu-20.04' + with: + name: linux-packages-raw-debug + # TODO: a better way to find just the binary + path: src-tauri/target/debug/fabulously-optimized-installer + - name: Upload the macOS packages (debug) + uses: actions/upload-artifact@v4 + if: matrix.platform == 'macos-13' + with: + name: macos-packages-debug + path: src-tauri/target/debug/bundle/dmg/*.dmg + - name: Upload the Windows packages + uses: actions/upload-artifact@v4 + if: matrix.platform == 'windows-2022' + with: + name: windows-packages-debug + path: src-tauri/target/debug/*.exe