How to publish artifacts in Travis CI?

后端 未结 10 1885
一向
一向 2020-12-07 16:47

I would like to use Travis CI for my open-source project. The issue that Travis doesn\'t provide any ways to publish produced artifacts (though, they have this in their futu

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 17:03

    If your project is based on GitHub - likely with Travis - then the easiest way is to check in the generated artifacts under the gh-pages branch. See more on GitHub.

    How to do that depends a lot on the used build system. With Maven, you can use maven-scm-plugin - you can find an example here.

    EDIT: You can find a full example here: https://github.com/tonnymadsen/ui-bindings/blob/master/com.rcpcompany.updatesite/pom.xml

提交回复
热议问题