mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Use minimal nix flake for nix-wasm build.
This avoids bringing in lots of compiled packages for host arch.
This commit is contained in:
@@ -183,7 +183,7 @@ jobs:
|
||||
dist-newstyle
|
||||
key: ${{ runner.os }}-nix-cabal-local-${{ secrets.CACHE_VERSION }}
|
||||
- run: |
|
||||
nix develop --command bash -c "make pandoc.wasm"
|
||||
nix develop --command bash -c "ln -sf flake.minimal.nix flake.nix && make pandoc.wasm"
|
||||
|
||||
windows:
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
key: ${{ runner.os }}-nix-cabal-local-${{ secrets.CACHE_VERSION }}
|
||||
- name: Build pandoc.wasm
|
||||
run: |
|
||||
nix develop --command bash -c "make pandoc.wasm"
|
||||
nix develop --command bash -c "ln -sf flake.minimal.nix flake.nix && make pandoc.wasm"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
key: ${{ runner.os }}-nix-cabal-local-${{ secrets.CACHE_VERSION }}
|
||||
- name: Build pandoc.wasm
|
||||
run: |
|
||||
nix develop --command bash -c "make pandoc.wasm"
|
||||
nix develop --command bash -c "ln -sf flake.minimal.nix flake.nix && make pandoc.wasm"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user