mirror of
https://github.com/netchx/netch.git
synced 2026-03-26 18:49:46 +08:00
[GitHub CI] Caching (#772)
This commit is contained in:
committed by
GitHub
parent
1a445104c2
commit
d31981bed2
@@ -1,14 +0,0 @@
|
||||
$name="data.zip"
|
||||
$address="https://github.com/netchx/netch-data/archive/refs/heads/main.zip"
|
||||
|
||||
..\scripts\download.ps1 $name $address
|
||||
if (-Not $?) { exit $lastExitCode }
|
||||
|
||||
..\scripts\extract.ps1 $name "bin"
|
||||
if (-Not $?) { exit $lastExitCode }
|
||||
|
||||
Copy-Item -Recurse -Force .\netch-data-main\* .\bin
|
||||
|
||||
Remove-Item -Force $name
|
||||
Remove-Item -Recurse -Force netch-data-main
|
||||
exit 0
|
||||
@@ -1,14 +0,0 @@
|
||||
$name="i18n.zip"
|
||||
$address="https://github.com/netchx/netch-i18n/archive/refs/heads/main.zip"
|
||||
|
||||
..\scripts\download.ps1 $name $address
|
||||
if (-Not $?) { exit $lastExitCode }
|
||||
|
||||
..\scripts\extract.ps1 $name "i18n"
|
||||
if (-Not $?) { exit $lastExitCode }
|
||||
|
||||
Copy-Item -Recurse -Force .\netch-i18n-main\* .\i18n
|
||||
|
||||
Remove-Item -Force $name
|
||||
Remove-Item -Recurse -Force netch-i18n-main
|
||||
exit 0
|
||||
@@ -1,14 +0,0 @@
|
||||
$name="mode.zip"
|
||||
$address="https://github.com/netchx/netch-mode/archive/refs/heads/main.zip"
|
||||
|
||||
..\scripts\download.ps1 $name $address
|
||||
if (-Not $?) { exit $lastExitCode }
|
||||
|
||||
..\scripts\extract.ps1 $name "mode"
|
||||
if (-Not $?) { exit $lastExitCode }
|
||||
|
||||
Copy-Item -Recurse -Force .\netch-mode-main\* .\mode
|
||||
|
||||
Remove-Item -Force $name
|
||||
Remove-Item -Recurse -Force netch-mode-main
|
||||
exit 0
|
||||
Reference in New Issue
Block a user