summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorjimvdl <jimvdlind@gmail.com>2023-08-26 20:44:58 +0200
committerGitHub <noreply@github.com>2023-08-26 20:44:58 +0200
commit7bdf1f57b09ea605045254013a8200373451baf0 (patch)
tree0d7264dc2ca3aaf41b31e5226d8562cb4f68121e /.github/workflows
parent879182059020e4669efae2296e98cdc8360a3bc2 (diff)
Let the CLI `typst update` itself without a package manager (#1887)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 52de89ec..1e7156e4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -45,11 +45,11 @@ jobs:
if: ${{ matrix.cross}}
run: |
cargo install cross --git https://github.com/cross-rs/cross.git
- cross build -p typst-cli --release --target ${{ matrix.target }}
+ cross build -p typst-cli --release --target ${{ matrix.target }} --features self-update
- name: Run Cargo
if: ${{ !matrix.cross }}
- run: cargo build -p typst-cli --release --target ${{ matrix.target }}
+ run: cargo build -p typst-cli --release --target ${{ matrix.target }} --features self-update
- name: create artifact directory
shell: bash