From 38cf0927dca0ffdbbefb41a0d1cf9b80a8d76a0b Mon Sep 17 00:00:00 2001 From: Alessandro Fulgini Date: Thu, 16 May 2024 22:50:27 +0200 Subject: [PATCH] fix(cd): prevent CARGO_HOME variable from leaking into Arch container --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5c6326d..e01e654 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -46,6 +46,9 @@ jobs: - name: Publish PKGBUILD uses: KSXGitHub/github-actions-deploy-aur@v2.7.1 + env: + # Workaround: prevent this variable set from the `rust-toolchain` action from leaking into the container + CARGO_HOME: "/home/builder/.cargo" with: pkgname: rofi-vscode-mode pkgbuild: PKGBUILD