diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 43f5c6be..10b0d170 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -50,7 +50,7 @@ jobs: steps: - uses: actions/checkout@v4 - - run: ./test/gha-build-iso.sh + - run: ./test/gha-build-iso.sh initial name: "Build ISO on ${{matrix.host_release}}" env: HOST_RELEASE: ${{matrix.host_release}} @@ -58,7 +58,20 @@ jobs: - name: Archive built ISO uses: actions/upload-artifact@v4 with: - name: grml-live-build-result-${{matrix.host_release}} + name: grml-live-build-result-initial-${{matrix.host_release}} if-no-files-found: error path: | - results/* + results-initial/* + + - run: ./test/gha-build-iso.sh build-only-twice + name: "Repack ISO twice on ${{matrix.host_release}}" + env: + HOST_RELEASE: ${{matrix.host_release}} + + - name: Archive repacked ISO + uses: actions/upload-artifact@v4 + with: + name: grml-live-build-result-repack-${{matrix.host_release}} + if-no-files-found: error + path: | + results-build-only-second/* diff --git a/test/gha-build-iso.sh b/test/gha-build-iso.sh index 37eac6ae..747aeb21 100755 --- a/test/gha-build-iso.sh +++ b/test/gha-build-iso.sh @@ -6,10 +6,7 @@ set -euxo pipefail -cat >build-gha-ci-test-config <build-gha-ci-test-config-initial <build-gha-ci-test-config-build-only-first <build-gha-ci-test-config-build-only-second <