From e0292ee98b5abec417acda844a9ddfc48d01960e Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:49:53 -0500 Subject: [PATCH] use download action --- .github/workflows/build-and-test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index fdfd1ee..5d76b5c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -85,8 +85,6 @@ jobs: permissions: contents: read packages: write - outputs: - artifact_url: ${{ steps.upload.outputs.artifact-url }} steps: - name: Checkout repo uses: actions/checkout@v4 @@ -160,9 +158,14 @@ jobs: run: | qemu-img create -f qcow2 disk.qcow2 50G + - name: Download generated ISO + uses: actions/download-artifact@v4 + with: + name: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}.iso + + - name: Add anaconda.ks to ISO run: | - wget --retry-on-http-error=404 ${{ needs.build-and-push-iso.outputs.artifact_url }} ls unzip *.zip cat << EOF > ks.cfg