Skip to content

Build ISO

Build ISO #12

name: Build ISO
on:
workflow_dispatch:
create:
branches:
- 'release-v*'
jobs:
build-iso:
name: Build ISO
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Generate Changelog
run: |
changelog=$(make changelog)
echo "CHANGELOG=${changelog}" >> $GITHUB_ENV
- name: Show Changelog
run: |
echo ${{ env.CHANGELOG }}
- name: Build ISO
run: |
make cosa-init
make build-iso
make customize-iso
- name: Set ISO absolute path
run: |
iso_path=$(readlink -f $(dirname $(pwd))/cosa/builds/latest/x86_64/*.iso)
echo "ISO_PATH=${iso_path}" >> $GITHUB_ENV
- name: Show ISO_PATH
run: |
echo "${{ env.ISO_PATH }}"