build: update

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-02-25 16:56:59 +01:00
parent d56cf413b0
commit 580914f427
2 changed files with 10 additions and 1 deletions

View File

@ -77,7 +77,16 @@ jobs:
fi
echo "add kernel"
tar caf ${{ github.workspace }}/source/kernel.tgz -C ${{ github.workspace }}/bzImage
if [ ! -d "${{ github.workspace }}/source/kernel" ]; then
mkdir -p "${{ github.workspace }}/source/kernel"
chmod a+rw -R "${{ github.workspace }}/source/kernel"
fi
KERNEL_PATH="${{ github.workspace }}/kernel"
cp -Rvf "${KERNEL_PATH}/." "${{ github.workspace }}/source/kernel"
tar caf ${{ github.workspace }}/source/kernel.tgz -C ${{ github.workspace }}/source/kernel .
- name: Upload to Artifacts
uses: actions/upload-artifact@v3