summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml12
-rw-r--r--gitlab.vdf1
2 files changed, 3 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82481ea..09bf069 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,14 +68,8 @@ 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 +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
+ - steamcmd +login "$STEAM_USERNAME" "$STEAM_PASSWORD" +run_app_build "$CI_PROJECT_DIR/build-linux/gitlab.vdf" +quit
+ artifacts:
paths:
- - .steam_cache/config.vdf
+ - .steam_cache/
diff --git a/gitlab.vdf b/gitlab.vdf
index 0667f76..e2f99df 100644
--- a/gitlab.vdf
+++ b/gitlab.vdf
@@ -2,7 +2,6 @@
{
"AppID" "@STEAM_APPID@"
"Desc" "Default app build matching GitLab configuration"
- "Preview" "1"
"BuildOutput" ".steam_cache/"
"Depots"
{