summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 580072e..82481ea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,5 +68,14 @@ package-windows:
steam:
stage: deploy
needs: ["build-linux", "package-linux", "package-windows"]
+ before_script:
+ - mkdir .steam_cache/
+ - cp .steam_cache/config.vdf /root/.steam/steam/config/config.vdf || true
script:
- - steamcmd +run_app_build build-linux/gitlab.vdf +quit
+ - steamcmd +login "$STEAM_USERNAME" "$STEAM_PASSWORD" $STEAM_GUARD +run_app_build "$CI_PROJECT_DIR/build-linux/gitlab.vdf" +quit
+ after_script:
+ - cp /root/.steam/steam/config/config.vdf .steam_cache/config.vdf || true
+ cache:
+ key: $CI_PROJECT_PATH
+ paths:
+ - .steam_cache/config.vdf