Release #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
## | |
# Although systems are managed through a CI/CD process, it can be helpful to | |
# periodically "make a release" (snapshot) of the assets, in order to reduce | |
# some repetitive strain injury (re-installing deps to rebuild assets). | |
## | |
on: | |
create: | |
tags: | |
- v* | |
jobs: | |
## | |
# Release Workflow: | |
# 1. Pre-Release Checks | |
# 2. Build "Production" ISO (teckhost.iso) | |
# 3. Publish Release w/ Artifacts | |
## | |
release: | |
name: Teckhost Release | |
# Only run for "version" tags | |
if: startsWith(github.ref, 'refs/tags/v') | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# 1. Pre-Release Checks | |
- name: Pre-Release Checks | |
run: echo "need to create some pre-release checks ..." | |
- name: Install Build Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libarchive-tools syslinux xorriso isolinux coreutils | |
# 2. Build "Production" ISO (teckhost*.iso) | |
- name: Build Teckhost ISO | |
id: build_iso | |
run: make teckhost.iso | |
# 3. Publish Release w/ Artifacts | |
- name: Create Release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
bootstrap | |
teckhost*.iso |