Downgrade kernel to 6.6.43, fix #2 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build debian | |
on: push | |
jobs: | |
build: | |
name: Build debian | |
runs-on: ubuntu-latest | |
steps: | |
- name: Prepare | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y install debootstrap binfmt-support qemu-user-static android-sdk-libsparse-utils | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare repository | |
run: git config --global --add safe.directory "$(pwd)" | |
- name: Build | |
run: | | |
cd rootfs | |
sudo ./build.sh | |
sudo xz rootfs.img | |
- name: Generate release tag | |
id: version | |
run: | | |
NAME=$(echo "Debian $(cat rootfs/debian_version)") | |
TAG_NAME=$(cat rootfs/debian_version)-${{ github.run_number }} | |
git tag $TAG_NAME | |
git push origin $TAG_NAME | |
echo -e "- Bootloader: $(cat aboot/ver.txt)\n$(cat rootfs/info.md)\n\n$(git log -1 --format=%B)" > release_notes.md | |
echo "NAME=$NAME" >> $GITHUB_OUTPUT | |
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_OUTPUT | |
- name: Releases | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: ${{ steps.version.outputs.NAME }} | |
body_path: release_notes.md | |
tag_name: ${{ steps.version.outputs.TAG_NAME }} | |
files: | | |
aboot/emmc_appsboot-test-signed.mbn | |
kernel/*.img | |
rootfs/rootfs.img.xz |