File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -176,21 +176,9 @@ jobs:
176
176
# Remove the Android SDK to free up space
177
177
- run : sudo rm -rf /usr/local/lib/android
178
178
179
- - name : Install Typst
180
- run : |
181
- wget -q "https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-x86_64-unknown-linux-musl.tar.xz"
182
- tar -xf "typst-x86_64-unknown-linux-musl.tar.xz"
183
- sudo mv "typst-x86_64-unknown-linux-musl/typst" /usr/local/bin/
184
- rm -rf "typst-x86_64-unknown-linux-musl" "typst-x86_64-unknown-linux-musl.tar.xz"
185
- typst --version
186
-
187
- - name : Install oxipng
188
- run : |
189
- wget -q "https://github.com/shssoichiro/oxipng/releases/download/v${OXIPNG_VERSION}/oxipng-${OXIPNG_VERSION}-x86_64-unknown-linux-musl.tar.gz"
190
- tar -xf "oxipng-${OXIPNG_VERSION}-x86_64-unknown-linux-musl.tar.gz"
191
- sudo mv "oxipng-${OXIPNG_VERSION}-x86_64-unknown-linux-musl/oxipng" /usr/local/bin/
192
- rm -rf "oxipng-${OXIPNG_VERSION}-x86_64-unknown-linux-musl" "oxipng-${OXIPNG_VERSION}-x86_64-unknown-linux-musl.tar.gz"
193
- oxipng --version
179
+ - name : Install cargo-binstall ${{ env.BINSTALL_VERSION }}
180
+ run : curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/v${BINSTALL_VERSION}/install-from-binstall-release.sh | bash
181
+ - run : cargo binstall --no-confirm typst-cli@${TYPST_VERSION} oxipng@${OXIPNG_VERSION}
194
182
195
183
- name : Download Fira Sans font
196
184
run : |
You can’t perform that action at this time.
0 commit comments