Skip to content

Commit

Permalink
update pake-cli.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlntin committed Mar 18, 2023
1 parent 4f3b7d6 commit d23b723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pake-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion script/build_with_pake_cli.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""))){
Expand Down Expand Up @@ -79,3 +81,4 @@ if (-not(Test-Path output)) {
}
Move-Item -Path "$env:NAME.*" -Destination "output/"
Write-Host "Build Success"
Set-Location ../..

0 comments on commit d23b723

Please sign in to comment.