Verify wasm target in Nix CI

Co-authored-by: dichhead <[email protected]>
This commit is contained in:
copilot-swe-agent[bot]anddichhead authored and GitHub committed 2026-09-19 13:58:07 +00:00
1 parent 152b8e1042
commit 9e284c7e61
3 files changed
+6 -1

No files matched your search

+2
View File
@@ -38,6 +38,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-nix
- name: Verify wasm target
run: nix develop --command rustc --print target-libdir --target wasm32-unknown-unknown > /dev/null
- name: Build web bundle
run: nix develop --command trunk build --locked --release --public-url /app/ --dist dist/app --html-output index.html web-app.html
- name: Validate website assembly
+3
View File
@@ -89,6 +89,9 @@ jobs:
)
nix develop --command bash --noprofile --norc -euo pipefail -c "$SCRIPT"
- name: Verify wasm target
run: nix develop --command rustc --print target-libdir --target wasm32-unknown-unknown > /dev/null
- name: Build web bundle
run: nix develop --command trunk build --locked --release --public-url /app/ --dist dist/app --html-output index.html web-app.html
+1 -1
View File
@@ -196,7 +196,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SNAP: ${{ steps.snap_asset.outputs.snap }}
run: nix develop --command gh release upload "${{ env.RELEASE_TAG }}" "$SNAP" --clobber
run: nix develop --command gh release upload "${{ env.RELEASE_TAG }}" "$SNAP" --clobber --repo ${{ github.repository }}
- name: Upload snap as workflow artifact
if: env.RELEASE_TAG == ''