diff --git a/.github/actions/install-linux-headers/action.yml b/.github/actions/install-linux-headers/action.yml index 8eaedea..e18824c 100644 --- a/.github/actions/install-linux-headers/action.yml +++ b/.github/actions/install-linux-headers/action.yml @@ -16,10 +16,8 @@ runs: - name: Extract linux source shell: bash - run: | - mkdir ~/${{ inputs.src-pkg }} - tar -xf /usr/src/${{ inputs.src-pkg }}.tar.bz2 --directory=~/${{ inputs.src-pkg }} + run: tar -xf /usr/src/${{ inputs.src-pkg }}.tar.bz2 --directory=/tmp - name: Make and install linux headers shell: bash - run: make -C ~/${{ inputs.src-pkg }} headers_install INSTALL_HDR_PATH=${{ inputs.install-path }} + run: make -C /tmp/${{ inputs.src-pkg }} headers_install INSTALL_HDR_PATH=${{ inputs.install-path }}