mirror of
https://github.com/brain-hackers/buildbrain
synced 2026-03-28 16:51:09 +09:00
Generage and upload listconfig early
This commit is contained in:
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -54,6 +54,17 @@ jobs:
|
|||||||
run: pip3 install listconfig
|
run: pip3 install listconfig
|
||||||
- name: Configure for Linux
|
- name: Configure for Linux
|
||||||
run: make ldefconfig
|
run: make ldefconfig
|
||||||
|
- name: Generate listconfig
|
||||||
|
run: listconfig ./linux-brain/Kconfig ./linux-brain/.config > listconfig
|
||||||
|
- name: Upload listconfig
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ needs.create_release.outputs.upload_url }}
|
||||||
|
asset_path: listconfig
|
||||||
|
asset_name: listconfig
|
||||||
|
asset_content_type: text/plain
|
||||||
- name: Build Linux
|
- name: Build Linux
|
||||||
run: make lbuild
|
run: make lbuild
|
||||||
- name: Setup releases
|
- name: Setup releases
|
||||||
@@ -75,18 +86,6 @@ jobs:
|
|||||||
asset_path: release.zip
|
asset_path: release.zip
|
||||||
asset_name: ${{ steps.archive_name.outputs.name }}.zip
|
asset_name: ${{ steps.archive_name.outputs.name }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
- name: Generate listconfig
|
|
||||||
run: listconfig ./linux-brain/Kconfig ./linux-brain/.config > listconfig
|
|
||||||
- name: Upload listconfig
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ needs.create_release.outputs.upload_url }}
|
|
||||||
asset_path: listconfig
|
|
||||||
asset_name: listconfig
|
|
||||||
asset_content_type: text/plain
|
|
||||||
|
|
||||||
build-linux-x1:
|
build-linux-x1:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
needs: [create_release]
|
needs: [create_release]
|
||||||
|
|||||||
Reference in New Issue
Block a user