ci: release
This commit is contained in:
parent
d357ce1a9d
commit
4dd2bae297
1 changed files with 65 additions and 1 deletions
|
|
@ -100,4 +100,68 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
|
||||||
# ... (остальные джобы publish-firmware, publish-bootloader, service-tui-macos, service-tui-windows, publish-tui остаются без изменений) ...
|
publish-firmware:
|
||||||
|
name: Publish firmware release
|
||||||
|
needs: firmware
|
||||||
|
if: startsWith(github.ref, 'refs/tags/firmware-v')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 15
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Download firmware_test_hab.bin
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: firmware-hab-debug
|
||||||
|
path: release-assets/
|
||||||
|
|
||||||
|
- name: Create Forgejo Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
files: release-assets/firmware_test_hab.bin
|
||||||
|
name: "firmware_test ${{ github.ref_name }}"
|
||||||
|
generate_release_notes: true
|
||||||
|
|
||||||
|
publish-bootloader:
|
||||||
|
name: Publish bootloader release
|
||||||
|
needs: firmware
|
||||||
|
if: startsWith(github.ref, 'refs/tags/bootloader-v')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 15
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Download bootloader_hab.bin
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: bootloader-hab-release
|
||||||
|
path: release-assets/
|
||||||
|
|
||||||
|
- name: Create Forgejo Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
files: release-assets/bootloader_hab.bin
|
||||||
|
name: "bootloader ${{ github.ref_name }}"
|
||||||
|
body: "⚠️ HAB-подпись — ТЕСТОВЫЙ ключ (dev/pre-series, HAB Open). Не production. Реальная SRK-церемония — firmware/bootloader/SIGNING_CEREMONY.md."
|
||||||
|
|
||||||
|
# =========================================================================
|
||||||
|
# Секция сборки TUI временно отключена.
|
||||||
|
# Для ее работы необходимо зарегистрировать агенты forgejo-runner
|
||||||
|
# нативно (не в Docker) на машинах с macOS и Windows с соответствующими тегами.
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
# service-tui-macos:
|
||||||
|
# name: Package service-tui (macOS)
|
||||||
|
# ...
|
||||||
|
|
||||||
|
# service-tui-windows:
|
||||||
|
# name: Package service-tui (Windows)
|
||||||
|
# ...
|
||||||
|
|
||||||
|
# publish-tui:
|
||||||
|
# name: Publish service-tui release
|
||||||
|
# ...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue