我在Android
上有一个GitHub
存储库,该存储库位于TravisCI
上。我尝试构建APK
文件并将其上传到存储库。
我在travis.yml
文件中使用下面的代码:
deploy:
provider: releases
api_key:
secure: "myapikey"
file: "output/apk/sample*release*.apk"
file_glob: "true"
skip_cleanup: "true"
on:
branch: master
repo: myuser/myproject
我在TravisCI
build:
Installing deploy dependencies
Fetching: multipart-post-2.0.0.gem (100%)
Successfully installed multipart-post-2.0.0
Fetching: faraday-0.13.1.gem (100%)
Successfully installed faraday-0.13.1
Fetching: public_suffix-3.0.0.gem (100%)
Successfully installed public_suffix-3.0.0
Fetching: addressable-2.5.2.gem (100%)
Successfully installed addressable-2.5.2
Fetching: sawyer-0.8.1.gem (100%)
Successfully installed sawyer-0.8.1
Fetching: octokit-4.6.2.gem (100%)
Successfully installed octokit-4.6.2
6 gems installed
Fetching: mime-types-2.99.3.gem (100%)
Successfully installed mime-types-2.99.3
1 gem installed
Preparing deploy
Logged in as myname
Deploying to repo: myuser/myproject
Current tag is: v7
Deploying application
Done. Your build exited with 0.
我的存储库中的APK
中没有output/apk/
个文件。