Skip to content

Commit

Permalink
fix missing board from release
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek committed Apr 12, 2024
1 parent 1be345e commit 4553de2
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -48,6 +36,8 @@ jobs:
project:
- preinstalled-server
- preinstalled-desktop
release:
- noble

steps:
- name: Get more disk space
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 != ''
Expand Down

0 comments on commit 4553de2

Please sign in to comment.