From 20beca8f891db6426f2efe623ec412ecdfe0ed41 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Sun, 24 Sep 2023 10:32:06 +0200 Subject: [PATCH] fix: download rustup installer to tmp --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f84180..6eea98b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,9 +24,9 @@ cargo:test: - apt-get update - apt-get -t experimental install libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev libssl-dev -y - apt-get install meson ninja-build git desktop-file-utils gettext libjxl-dev file libusb-dev libusb-1.0-0-dev curl -y - - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -O rustup.sh - - chmod +x rustup.sh - - ./rustup.sh -y + - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -O /tmp/rustup.sh + - chmod +x /tmp/rustup.sh + - /tmp/rustup.sh -y - rustc --version && cargo --version # Print version info for debugging - meson setup build -Dprefix="$PWD/build/localprefix" -Dprofile=development - ninja -C build @@ -42,9 +42,9 @@ appimage: - apt-get update - apt-get -t experimental install libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev libssl-dev -y - apt-get install meson ninja-build git desktop-file-utils gettext libjxl-dev file libusb-dev libusb-1.0-0-dev curl -y - - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -O rustup.sh - - chmod +x rustup.sh - - ./rustup.sh -y + - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -O /tmp/rustup.sh + - chmod +x /tmp/rustup.sh + - /tmp/rustup.sh -y - bash ./dist/appimage/build_appimage.sh artifacts: paths: