Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

ci: workflow_dispatch produces artifacts without creating a release

nash_su9bb4037b2e71
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7d0dba70..f65e0c54 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -69,16 +69,46 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
with:
- tagName: ${{ github.ref_name }}
- releaseName: 'LLM Wiki ${{ github.ref_name }}'
+ # Tag-triggered runs publish a real GitHub Release.
+ # Manual (workflow_dispatch) runs leave tagName/releaseName
+ # empty so tauri-action skips the release-upload step and
+ # just produces bundle artifacts — useful for testing a
+ # branch build without polluting the Releases page.
+ tagName: ${{ github.event_name == 'push' && github.ref_name || '' }}
+ releaseName: ${{ github.event_name == 'push' && format('LLM Wiki {0}', github.ref_name) || '' }}
releaseBody: 'See the assets below for download links.'
releaseDraft: false
prerelease: false
args: ${{ matrix.args }}
+ # On workflow_dispatch, no release is created, so the bundles
+ # would otherwise be discarded with the runner. Upload them as
+ # workflow artifacts so the maintainer can `gh run download`
+ # the .msi / .exe / .dmg / .deb to test locally. Skipped on
+ # tag pushes since the release page already has them.
+ - name: Upload bundles as workflow artifacts (manual runs only)
+ if: github.event_name == 'workflow_dispatch'
+ uses: actions/upload-artifact@v4
+ with:
+ name: bundle-${{ matrix.platform }}
+ # Glob covers both targeted (e.g.
+ # target/aarch64-apple-darwin/release/...) and default
+ # (target/release/...) build paths.
+ path: |
+ src-tauri/target/**/release/bundle/msi/*.msi
+ src-tauri/target/**/release/bundle/nsis/*.exe
+ src-tauri/target/**/release/bundle/dmg/*.dmg
+ src-tauri/target/**/release/bundle/deb/*.deb
+ src-tauri/target/**/release/bundle/appimage/*.AppImage
+ if-no-files-found: warn
+ retention-days: 14
+
package-extension:
name: Package browser extension
needs: build
+ # Browser extension is only published as part of an actual
+ # tagged release; manual builds don't need it.
+ if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout