diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c7301e4185d9c9d5f256310b3e2f42cb54e3804c..e182098b534df69898c6e5e02a63990fc08f8fc3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,9 +39,11 @@ build-native:       # This job runs in the build stage, which runs first.
     - key: apt-$CI_JOB_IMAGE
       paths:
         - apt-cache
+      unprotect: true
   artifacts:
     paths:
       - "bin/*"
+    name: "Debian native"
   before_script:
     - export PATH="/usr/lib/ccache:$PATH"
     - export CCACHE_BASEDIR="$PWD"
@@ -51,12 +53,12 @@ build-native:       # This job runs in the build stage, which runs first.
     - mkdir --parents --verbose $APT_CACHE_DIR/partial/
     - apt-get update
     - apt-get -o dir::cache::archives="$APT_CACHE_DIR" install --no-install-recommends --yes build-essential libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev git libopenmpt-dev gettext ccache
+    - apt-get autoclean
     - ccache --zero-stats || true
     - ccache --show-stats || true
   after_script:
     - export CCACHE_DIR="$PWD/ccache"
     - ccache --show-stats
-    - apt-get autoclean
   script:
     - make --directory=src