diff --git a/.github/workflows/complete-artifact-one-by-one.yml b/.github/workflows/complete-artifact-one-by-one.yml index 1ba7d4b..fef7111 100644 --- a/.github/workflows/complete-artifact-one-by-one.yml +++ b/.github/workflows/complete-artifact-one-by-one.yml @@ -1,3 +1,4 @@ + name: "Build One by One (anyone)" on: workflow_dispatch: @@ -10,6 +11,7 @@ on: options: - kernel - build + - u-boot default: build armbian_kernel_branch: @@ -17,6 +19,7 @@ on: description: 'Kernel branch' options: - legacy + - vendor - current - edge default: 'current' @@ -26,10 +29,8 @@ on: description: 'Userspace' options: - jammy - - mantic + - noble - bookworm - - trixie - - sid default: 'jammy' armbian_ui: @@ -286,14 +287,21 @@ on: - xiaomi-elish - xiaomi-umi - zeropi + jobs: build: + + name: "Build Armbian" runs-on: ubuntu-latest - steps: + steps: + + - name: install missing f2fs and nilfs kernel modules + run: sudo apt update && sudo apt -y install linux-modules-extra-$(uname -r ) - - uses: armbian/build@v24.2.1 + - name: Run Armbian Build system + uses: armbian/build@v24.05 with: armbian_token: "${{secrets.GITHUB_TOKEN}}" armbian_target: "${{inputs.armbian_target}}" @@ -301,7 +309,13 @@ jobs: armbian_kernel_branch: "${{inputs.armbian_kernel_branch}}" armbian_ui: "${{inputs.armbian_ui}}" armbian_board: "${{inputs.armbian_board}}" - armbian_release_tittle: "Armbian SDK" - armbian_release_body: "Virtual images for x86 and arm64" - armbian_pgp_key: "${{secrets.GPG_KEY1}}" - armbian_pgp_password: "${{secrets.GPG_PASSPHRASE1}}" + armbian_branch: "${{inputs.armbian_version}}" + armbian_artifacts: "${{inputs.armbian_target == 'kernel' && 'build/output/debs/' || inputs.armbian_target =='u-boot' && 'build/output/debs/' || 'build/output/images/'}}" + armbian_release_tittle: "Armbian image release for ${{inputs.armbian_board}}" + armbian_release_body: " kernel:${{inputs.armbian_kernel_branch}} \n distro: ${{inputs.armbian_release}} \n UI: ${{inputs.armbian_ui}} " + + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + timeout-minutes: 150 + diff --git a/userpatches/.gitkeep b/userpatches/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/userpatches/lib.config b/userpatches/lib.config new file mode 100644 index 0000000..4349ebb --- /dev/null +++ b/userpatches/lib.config @@ -0,0 +1 @@ +IMAGE_XZ_COMPRESSION_RATIO="9"