Skip to content

Commit c28a212

Browse files
committed
【修复】更新 Rust 设置和缓存配置
- 在 setup-rust 和 rust-cache 步骤中添加 working-directory 设置 - 更新 index.html 中的 markdown-html 版本号
1 parent 88c9c00 commit c28a212

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ runs:
2222
- name: Setup Rust
2323
uses: MatteoH2O1999/setup-rust@v1
2424
if: ${{ inputs.use-minified == 'true' || inputs.use-all-in-one == 'true' }}
25+
working-directory: ${{ github.action_path }}
2526

2627
- name: Cache Rust dependencies
2728
if: ${{ inputs.use-minified == 'true' || inputs.use-all-in-one == 'true' }}
2829
uses: Swatinem/rust-cache@v2
30+
working-directory: ${{ github.action_path }}
2931
with:
3032
cache-on-failure: "true"
3133

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22

33
<html>
4-
<markdown-html version="1.17.2" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
4+
<markdown-html version="1.17.3" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
55
license="CC BY-SA 4.0 International"></markdown-html>
66

77
<head>

0 commit comments

Comments
 (0)