We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dd0b81 commit 6599c99Copy full SHA for 6599c99
.github/workflows/build.yaml
@@ -66,7 +66,7 @@ jobs:
66
INSTALL_CMD="apt update && apt install -y"
67
PACKAGES="git libc6-dev cmake libcurl4-openssl-dev libjansson-dev libsodium-dev pkgconf"
68
PACKAGES_API="libmicrohttpd-dev"
69
- CLEANUP_CACHE_CMD='rm -rfv pkg-cache/archives/{partial,lock}'
+ CLEANUP_CACHE_CMD="rm -rfv ${PKG_CACHE_DIR}/archives/{partial,lock}"
70
;;
71
almalinux:*|amazonlinux:*|fedora:*|oraclelinux:*)
72
PKG_CACHE_DIR="/var/cache/dnf"
@@ -112,6 +112,7 @@ jobs:
112
find "${PKG_CACHE_DIR}" || ls -d "${PKG_CACHE_DIR}"/* || true
113
${INSTALL_CMD} ${PACKAGES}
114
${CLEANUP_CACHE_CMD}
115
+ chmod a+rX -R "${PKG_CACHE_DIR}"
116
git config --global --add safe.directory /workspace
117
mkdir -p build
118
cd build
0 commit comments