咋说呢,准备发个release得了

This commit is contained in:
shenjack 2023-03-19 10:58:38 +08:00
parent 6db5c2c344
commit 3d0eb847e8
2 changed files with 6 additions and 13 deletions

View File

@ -45,28 +45,20 @@ jobs:
run: |
# 设置变量
$urls = @(
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-i18n',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-theme',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-cmdrun',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-i18n',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-theme',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-cmdrun',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-pagetoc',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-footnote',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.2/mdbook-external-links',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-footnote',
'https://github.com/shenjackyuanjie/Minecraft_Science_Tree/releases/download/0.0.3/mdbook-external-links',
'https://github.com/plantuml/plantuml/releases/download/v1.2023.4/plantuml-1.2023.4.jar'
)
# $temp = 'mdbook'
# # 创建目录
# if (!(Test-Path -Path $temp -PathType Container)) {
# New-Item -Path $temp -ItemType Directory -Force
# }
# 下载文件
foreach ($url in $urls) {
Invoke-WebRequest -Uri $url -OutFile "$($url.Split('/')[-1])"
}
# 将目录路径添加到 $PATH 中
# $temp >> $env:GITHUB_PATH
$PWD >> $env:GITHUB_PATH
echo "$PATH"
ls "$temp"
ls $PWD
# - name: Setup mdbook-theme latest

View File

@ -40,6 +40,7 @@
- 新增了 `dsm.py`
- 用于将文档部署到服务器
- 同时保证不会丢下一大堆连接不管
- 应该吧······
- Add `dsm.py`
- Used to deploy documents to the server
- At the same time, ensure that there will be no connection left