From ad24333d6b125dfff05c5ff28120018e710ff3e1 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Wed, 25 Jan 2023 16:38:29 +0100 Subject: [PATCH] Cache didn't work, also switched version to long commit sha --- .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86378af..e875bfd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,14 +10,10 @@ build: rules: - if: $CI_COMMIT_BRANCH == "installer" script: - - export CARGO_HOME="${PWD}/.cargo" - apk add pkgconf musl-dev curl - RUSTFLAGS='-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl - cp target/x86_64-unknown-linux-musl/release/dotfiles_installer ./installer-amd64 - - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file installer-amd64 "${PACKAGE_REGISTRY_URL}/dev-$CI_COMMIT_SHORT_SHA/installer-amd64"' + - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file installer-amd64 "${PACKAGE_REGISTRY_URL}/dev-$CI_COMMIT_SHA/installer-amd64"' artifacts: paths: - installer-amd64 - cache: - paths: - - .cargo/