update pake-cli.yml

This commit is contained in:
Tlntin
2023-03-18 12:34:07 +08:00
parent 2e07fa2b98
commit 175a9c9152
2 changed files with 5 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: output-${{ inputs.platform }}.zip
path: output/
path: node_modules/pake-cli/output/
retention-days: 3
- name: rust cache store

View File

@@ -21,8 +21,10 @@ Write-Host "is multi arch? only for Mac: " $env:MULTI_ARCH
Write-Host "targets type? only for Linux: " $env:TARGETS
Write-Host "===========================`n"
Set-Location node_modules/pake-cli
# init params
${Params}="node node_modules/pake-cli/cli.js $env:URL --name $env:NAME"
${Params}=" && node cli.js $env:URL --name $env:NAME"
# download icon
if ((($null -ne $env:URL) -and ($env:URL -ne ""))){
@@ -79,3 +81,4 @@ if (-not(Test-Path output)) {
}
Move-Item -Path "$env:NAME.*" -Destination "output/"
Write-Host "Build Success"
Set-Location ../..