diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6691745ae..56d40d276 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 3b1835c76..3ec0c62b6 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1ae5f005..1ac0b5639 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 == ''