File tree Expand file tree Collapse file tree 6 files changed +395
-133
lines changed
Expand file tree Collapse file tree 6 files changed +395
-133
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ defaults:
1313 shell : bash -eux {0}
1414
1515jobs :
16- build :
16+ build-mac :
1717 runs-on : macos-latest
1818 steps :
1919 - uses : actions/checkout@v4
@@ -23,16 +23,34 @@ jobs:
2323 - name : Install toolchain
2424 uses : actions-rust-lang/setup-rust-toolchain@v1
2525
26- - name : Run cargo test
26+ - name : Run cargo build
27+ run : cargo build --release
28+
29+ - uses : actions/upload-artifact@v4
30+ with :
31+ name : vitepress-pdf-export_macos
32+ path : |
33+ ./target/release/vitepress-pdf-export
34+ build-linux :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - uses : actions/checkout@v4
38+ with :
39+ fetch-depth : 0
40+
41+ - name : Install toolchain
42+ uses : actions-rust-lang/setup-rust-toolchain@v1
43+
44+ - name : Run cargo build
2745 run : cargo build --release
2846
2947 - uses : actions/upload-artifact@v4
3048 with :
31- name : vitepress-pdf-export
49+ name : vitepress-pdf-export_linux
3250 path : |
3351 ./target/release/vitepress-pdf-export
3452 test :
35- runs-on : macos -latest
53+ runs-on : ubuntu -latest
3654 steps :
3755 - uses : actions/checkout@v4
3856 with :
4260 uses : actions-rust-lang/setup-rust-toolchain@v1
4361
4462 - name : Run cargo test
45- run : cargo test --locked
63+ run : cargo test --locked
You can’t perform that action at this time.
0 commit comments