Ash258 / Scoop-GithubActions

Deprecated. Use https://github.com/shovel-org/GithubActions
MIT License
25 stars 18 forks source link

Download action #15

Closed Ash258 closed 5 years ago

Ash258 commented 5 years ago
Ash258 commented 5 years ago

Add information about possible causes of this to comment on not reproducible state

Ash258 commented 5 years ago

Aria2 usage is now initialized. There are few problems that needs to be investigated

Starting download with aria2 ...
Exception caught
Exception: [download_helper.cc:563] errorCode=1 Failed to open the file /SCOOP/cache\xmake.txt, cause: File not found or it is a directory

ERROR Download failed! (Error 1) An unknown error occurred
ERROR https://github.com/xmake-io/xmake/releases/download/v2.2.7/xmake-v2.2.7.win64.zip
    referer=https://github.com/xmake-io/xmake/releases/download/v2.2.7/
    dir=/SCOOP/cache
    out=xmake#DL#https_github.com_xmake-io_xmake_releases_download_v2.2.7_xmake-v2.2.7.win64.zip

ERROR & '/usr/bin/aria2c' --input-file='/SCOOP/cache\xmake.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/6.2 (Windows NT 4.9; Core)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=1 --continue
The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
+     & "$env:COMSPEC" /c $cmd
+ CategoryInfo          : InvalidOperation: (:String) [], RuntimeException
+ FullyQualifiedErrorId : BadExpression

Please try again or create a new issue by using the following link and paste your console output:
https:////
PS /> ls /SCOOP/cache/
xmake.txt
PS /> cat /SCOOP/cache/xmake.txt
https://github.com/xmake-io/xmake/releases/download/v2.2.7/xmake-v2.2.7.win64.zip
    referer=https://github.com/xmake-io/xmake/releases/download/v2.2.7/
    dir=/SCOOP/cache
    out=xmake#DL#https_github.com_xmake-io_xmake_releases_download_v2.2.7_xmake-v2.2.7.win64.zip