From 49637c7a4f8c168687ea84a9d1a93b32bf3db94a Mon Sep 17 00:00:00 2001 From: daywalker90 Date: Thu, 30 Jul 2026 13:04:43 +0200 Subject: [PATCH] CI: fix path creation flake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` Run sudo mkdir /usr/local/libexec sudo mkdir /usr/local/libexec sudo mkdir /usr/local/libexec/c-lightning sudo mkdir /usr/local/libexec/c-lightning/plugins sudo chown -R $USER /usr/local/libexec shell: /usr/bin/bash -e {0} env: pythonLocation: /opt/hostedtoolcache/Python/3.12.13/x64 PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.13/x64/lib/pkgconfig Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.13/x64 Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.13/x64 Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.13/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.13/x64/lib UV_PYTHON_INSTALL_DIR: /home/runner/work/_temp/uv-python-dir mkdir: cannot create directory ‘/usr/local/libexec’: File exists Error: Process completed with exit code 1. ``` --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aadb455e..3683fb4d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,9 +104,7 @@ jobs: - name: Create cache paths if: ${{ github.event_name == 'push' || steps.set_plugin_dirs.outputs.run_ci == 'true' }} run: | - sudo mkdir /usr/local/libexec - sudo mkdir /usr/local/libexec/c-lightning - sudo mkdir /usr/local/libexec/c-lightning/plugins + sudo mkdir -p /usr/local/libexec/c-lightning/plugins sudo chown -R $USER /usr/local/libexec - name: Restore bitcoind cache