Improve task names and description in community workflow

This commit is contained in:
Daniel Pawlik
2024-10-08 12:19:08 +02:00
parent 218160d7af
commit 2c720deadc

View File

@@ -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