gitlab-ci: inject key for github.oauthtoken
authorJean Privat <jean@pryen.org>
Wed, 20 Feb 2019 15:51:40 +0000 (10:51 -0500)
committerJean Privat <jean@pryen.org>
Fri, 22 Feb 2019 04:16:50 +0000 (23:16 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

.gitlab-ci.yml

index 427075f..c7b8c3e 100644 (file)
@@ -26,6 +26,7 @@ before_script:
   - export CCACHE_DIR=$PWD/.ccache
   - export GRADLE_USER_HOME=$PWD/.gradle
   - export PATH=$PWD/bin:$PATH
+  - git config --add github.oauthtoken "$GITHUB_OAUTHTOKEN" # needed for github api rate limit
   - pwd
   - ccache -s
   - ccache -M 500M