diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 0c6aba4..b7a8217 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -101,7 +101,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: ${{ env.ISO_NAME }}.iso - path: ${{ github.workspace}}/${{ env.ISO_NAME }}.iso + path: ${{ github.workspace}}/* if-no-files-found: error retention-days: 0 compression-level: 0 diff --git a/Makefile b/Makefile index 6338fc4..6089a77 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,8 @@ build/deploy.iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.t xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt implantisomd5 build/deploy.iso mv build/deploy.iso build/$(ISO_NAME).iso + cd build + sha256sum $(ISO_NAME).iso > $(ISO_NAME)-CHECKSUM # Step 1: Generate Lorax Templates lorax_templates/post_%.tmpl: lorax_templates/scripts/post/% @@ -176,7 +178,7 @@ clean: rm -f $(_BASE_DIR)/*.log || true install-deps: - dnf install -y lorax xorriso skopeo + dnf install -y lorax xorriso skopeo coreutils test-iso: $(eval _TESTS = $(filter-out README.md,$(shell ls tests/iso)))