From: Daan De Meyer Date: Fri, 29 Nov 2024 09:27:56 +0000 (+0100) Subject: action: Install to $HOME/.local/bin as well X-Git-Tag: v25~135^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3243%2Fhead;p=thirdparty%2Fmkosi.git action: Install to $HOME/.local/bin as well --- 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