diff options
| author | Tranch <tranch.xiao@gmail.com> | 2026-07-23 16:59:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-23 16:59:44 +0800 |
| commit | b2f4fc705c15746c8dad96d02f7a9c8425d56459 (patch) | |
| tree | 14857401bc213dc2814ff0197f936b0620628183 /.github | |
| parent | cc70bce5a4e942ef1d14fc2522dface74a0cb324 (diff) | |
| parent | 34392b54532ae98e21f983e265525cd637c125fb (diff) | |
| download | AeroCore-OS-b2f4fc705c15746c8dad96d02f7a9c8425d56459.tar.gz AeroCore-OS-b2f4fc705c15746c8dad96d02f7a9c8425d56459.zip | |
Merge pull request #5 from AeroCore-IO/testing
Fix live installer ISO path
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-live-installer.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/build-live-installer.yml b/.github/workflows/build-live-installer.yml index 4b8cb62..1f57edd 100644 --- a/.github/workflows/build-live-installer.yml +++ b/.github/workflows/build-live-installer.yml @@ -105,8 +105,25 @@ jobs: image-ref: localhost/aerocore-live-payload:latest iso-dest: ${{ github.workspace }}/output/aerocore-os-${{ env.ISO_FILE_TAG }}-amd64.iso + - name: Normalize ISO output path + shell: bash + env: + GENERATED_ISO: ${{ steps.build.outputs.iso-dest }} + EXPECTED_ISO: ${{ github.workspace }}/output/aerocore-os-${{ env.ISO_FILE_TAG }}-amd64.iso + run: | + if [[ ! -f "${GENERATED_ISO}" ]]; then + echo "::error::Generated ISO does not exist at ${GENERATED_ISO}" + exit 1 + fi + if [[ "${GENERATED_ISO}" != "${EXPECTED_ISO}" ]]; then + mkdir -p "$(dirname "${EXPECTED_ISO}")" + mv "${GENERATED_ISO}" "${EXPECTED_ISO}" + fi + - name: Display checksum + shell: bash run: | + set -o pipefail iso_path="output/aerocore-os-${ISO_FILE_TAG}-amd64.iso" checksum_path="${iso_path}-CHECKSUM" sha256sum "${iso_path}" | tee "${checksum_path}" |
