From 1a58c1260876f4e7502a4be1744bfb0956d850b2 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:32:42 -0500 Subject: [PATCH] fix: don't push the iso during testing --- .github/workflows/test-iso.yml | 1 + action.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/test-iso.yml b/.github/workflows/test-iso.yml index 9b818f5..d39a260 100644 --- a/.github/workflows/test-iso.yml +++ b/.github/workflows/test-iso.yml @@ -51,6 +51,7 @@ jobs: VERSION: ${{ matrix.version }} ACTION_REPO: ${{ github.repository }} ACTION_REF: ${{ github.ref }} + PUSH_ISO: "false" check: name: Check build successful diff --git a/action.yml b/action.yml index 119679c..afe87da 100644 --- a/action.yml +++ b/action.yml @@ -37,6 +37,10 @@ inputs: description: Repository ref for the build action required: false default: ${{ github.ref }} + PUSH_ISO: + description: Push ISO when done building + required: false + default: "true" runs: using: composite @@ -101,6 +105,7 @@ runs: mv ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso end_iso/ - name: Upload ISO as artifact + if: inputs.PUSH_ISO == "true" uses: actions/upload-artifact@v4 with: name: ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso