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 | df1b86fe0f314b6457e976ad882412bd04f0317b (patch) | |
| tree | 14857401bc213dc2814ff0197f936b0620628183 | |
| parent | a250b1bd64195a8a377c281d212801c4c5387d80 (diff) | |
| parent | 3c86b459d129f3303d8fc9cf236f79d1536d120d (diff) | |
| download | AeroCore-OS-df1b86fe0f314b6457e976ad882412bd04f0317b.tar.gz AeroCore-OS-df1b86fe0f314b6457e976ad882412bd04f0317b.zip | |
Merge pull request #5 from AeroCore-IO/testing
Fix live installer ISO path
| -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}" |
