use newer gha step output #8
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: Makefile CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build a Docker container image using the Dockerfile | |
run: make build | |
- name: Run a Docker container to build the COEN ISO image | |
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"' | |
run: make run | |
- name: Copy the resultant COEN ISO image from the Docker container into the host directory | |
run: make copy | |
- name: Store Output | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 'COEN ISO' | |
overwrite: true | |
path: coen-*.iso |