From cdf58bbca49699a99cd9a6cb28d4fd5e6bd884ec Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 29 Nov 2024 10:27:56 +0100 Subject: [PATCH] action: Install to $HOME/.local/bin as well --- action.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 3fff63b9c..b2afc1a70 100644 --- a/action.yaml +++ b/action.yaml @@ -58,7 +58,12 @@ runs: - name: Install shell: bash - run: sudo ln -svf ${{ github.action_path }}/bin/mkosi /usr/bin/mkosi + run: | + sudo ln -svf ${{ github.action_path }}/bin/mkosi /usr/bin/mkosi + # Make sure that mkosi is still found inside "mkosi sandbox" where /usr is potentially replaced with + # a tools tree's /usr. + mkdir -p $HOME/.local/bin/mkosi + ln -svf ${{ github.action_path }}/bin/mkosi $HOME/.local/bin/mkosi - name: Dependencies shell: bash -- 2.47.2