-
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1be345e
commit 4553de2
Showing
1 changed file
with
9 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,6 @@ name: Release | |
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
launchpad: | ||
description: use launchpad | ||
required: true | ||
default: false | ||
type: boolean | ||
kernel: | ||
type: choice | ||
description: Kernel | ||
options: | ||
- rockchip-5.10 | ||
- rockchip-6.1 | ||
|
||
permissions: | ||
contents: write | ||
|
@@ -48,6 +36,8 @@ jobs: | |
project: | ||
- preinstalled-server | ||
- preinstalled-desktop | ||
release: | ||
- noble | ||
|
||
steps: | ||
- name: Get more disk space | ||
|
@@ -80,7 +70,7 @@ jobs: | |
- name: Build | ||
shell: bash | ||
run: sudo ./build.sh --board=orangepi-5 --release=noble ${{ matrix.project == 'preinstalled-desktop' && '--desktop-only' || matrix.project == 'preinstalled-server' && '--server-only' }} --kernel=${{ github.event.inputs.kernel }} --rootfs-only | ||
run: sudo ./build.sh --board=orangepi-5 --release=noble ${{ matrix.project == 'preinstalled-desktop' && '--desktop-only' || matrix.project == 'preinstalled-server' && '--server-only' }} --rootfs-only | ||
|
||
- name: Upload | ||
uses: actions/[email protected] | ||
|
@@ -115,12 +105,16 @@ jobs: | |
- mixtile-core3588e | ||
- lubancat-4 | ||
- turing-rk1 | ||
- roc-rk3588s-pc | ||
- armsom-sige7 | ||
- armsom-w3 | ||
|
||
project: | ||
- preinstalled-server | ||
- preinstalled-desktop | ||
|
||
release: | ||
- noble | ||
|
||
steps: | ||
- name: Get more disk space | ||
uses: jlumbroso/free-disk-space@main | ||
|
@@ -159,11 +153,7 @@ jobs: | |
- name: Build | ||
shell: bash | ||
run: | | ||
args="" | ||
if [ "${{ inputs.launchpad }}" == true ]; then | ||
args="--launchpad" | ||
fi | ||
sudo ./build.sh --board=${{ matrix.board }} $args --release=noble ${{ matrix.project == 'preinstalled-desktop' && '--desktop-only' || matrix.project == 'preinstalled-server' && '--server-only' }} --kernel=${{ github.event.inputs.kernel }} | ||
sudo ./build.sh --board=${{ matrix.board }} --launchpad --release=${{ matrix.release }} ${{ matrix.project == 'preinstalled-desktop' && '--desktop-only' || matrix.project == 'preinstalled-server' && '--server-only' }} | ||
- name: Upload | ||
if: needs.prepare_release.outputs.release_id != '' | ||
|