Skip to content

Commit

Permalink
Create Build-Release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru authored Dec 8, 2024
1 parent dbb30df commit 7879769
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/Build-Release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Release

on:
release:
types: [published]
workflow_dispatch:

permissions:
contents: write

jobs:
prepare_release:
runs-on: ubuntu-latest
steps:
- id: last-release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: ${{ github.repository }}
outputs:
release_id: ${{ steps.last-release.outputs.id }}
release_ver: ${{ steps.last-release.outputs.release }}

build-kernel:
strategy:
matrix:
board:
- avaota-a1
uses: AvaotaSBC/AvaotaOS/.github/workflows/Build-AvaotaOS-Kernel.yaml@main
needs: [prepare_release]
with:
config-board: ${{ matrix.board }}
config-release_id: ${{ needs.prepare_release.outputs.release_id }}
config-release_ver: ${{ needs.prepare_release.outputs.release_ver }}
config-kernel-target: bsp

0 comments on commit 7879769

Please sign in to comment.