From 2c720deadcc8fdd7da6ed21abdd265ad7ec4eb5e Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Tue, 8 Oct 2024 12:19:08 +0200 Subject: [PATCH] Improve task names and description in community workflow --- .github/workflows/bpi-r4-BE14-community.yaml | 21 +++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bpi-r4-BE14-community.yaml b/.github/workflows/bpi-r4-BE14-community.yaml index 0daa6fb..b4cfe65 100644 --- a/.github/workflows/bpi-r4-BE14-community.yaml +++ b/.github/workflows/bpi-r4-BE14-community.yaml @@ -1,6 +1,5 @@ --- -# Luci fix: https://github.com/openwrt/luci/pull/7279 -name: BPI-R4 + BE14 + EHT fix by Janusz + luci BE +name: BPI-R4 + BE14 on: workflow_dispatch: @@ -20,13 +19,13 @@ on: required: true default: 'false' options: - - true - - false + - 'true' + - 'false' env: REMOTE_REPOSITORY: danpawlik/openwrt - REMOTE_BRANCH: v15-luci-eht${{ inputs.RMADRAD_VERSION == true && '-rmadrad' || '' }} - RELEASE_PREFIX: Mediatek_mt7988a_bpi-r4_be14_eht + REMOTE_BRANCH: v15-luci-eht${{ inputs.RMADRAD_VERSION == 'true' && '-rmadrad' || '' }} + RELEASE_PREFIX: Mediatek_mt7988a_bpi-r4_be14_eht-${{ inputs.RMADRAD_VERSION == true && '-rmadrad' || '-stock' }} DEVICE_CONFIG: ${{ inputs.DEVICE_CONFIG == 'poe' && 'configs/mediatek/mt7988a/bpi-r4-poe' || 'configs/mediatek/mt7988a/bpi-r4' }} ROLE_CONFIG: configs/common/community @@ -50,7 +49,7 @@ jobs: echo "latest_commit_sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT build: - name: Build BPI-R4 with BE14 + eht by Janusz + luci BE + name: Build BPI-R4 with BE14 needs: [check_commits] runs-on: ubuntu-24.04 steps: @@ -70,6 +69,10 @@ jobs: repository: ${{ env.REMOTE_REPOSITORY }} ref: ${{ env.REMOTE_BRANCH }} + - name: What version it is created + run: | + echo "Version: ${{ inputs.RMADRAD_VERSION == true && 'rmadrad' || 'stock' }} for: ${{ env.DEVICE_CONFIG }} based on branch ${{ env.REMOTE_BRANCH }}" + - name: Update and install feeds run: | ./scripts/feeds update -a && ./scripts/feeds install -a @@ -133,10 +136,10 @@ jobs: with: files: bin/targets/mediatek/filogic/* tag_name: ${{ env.RELEASE_PREFIX }}-${{ env.REMOTE_BRANCH }}-${{ env.RELEASE_DATE }} - name: OpenWRT BPI-R4 ${{ env.DEVICE_CONFIG }} + BE14 + luci BE - ${{ env.REMOTE_BRANCH }} - ${{ env.RELEASE_DATE }} + name: OpenWRT BPI-R4 ${{ env.DEVICE_CONFIG }} + BE14 - ${{ env.REMOTE_BRANCH }} - ${{ env.RELEASE_DATE }} body: | Updated prebuilt images for ${{ env.RELEASE_DATE }} with BE14, luci BE, basic 5G modem packages, that was - expected by the community members. ${{ inputs.RMADRAD_VERSION == true && 'That build contains Rmadrad patch' || '' }} + expected by the community members. ${{ inputs.RMADRAD_VERSION == true && 'That build contains Rmadrad patch' || 'That builds is more less stock OpenWRT version' }} Build Commit: ${{ needs.check_commits.outputs.latest_commit_sha }} - name: Clean up old releases