From 9c4a686ca834fe8cde278eb26625e3ec2d2776ae Mon Sep 17 00:00:00 2001 From: proJM <81658610+proJM-Coding@users.noreply.github.com> Date: Thu, 30 May 2024 11:02:24 +0000 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4c1c80..4025c96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: branches: - main schedule: - - cron: '05 10 * * *' # 10:05am UTC everyday + - cron: '05 10 * * 1' push: branches: - main @@ -170,23 +170,11 @@ jobs: - name: Build ISO uses: jasonn3/build-container-installer@v1.2.0 - - name: Move ISOs to Upload Directory - id: upload-directory - shell: bash - run: | - ISO_UPLOAD_DIR=${{ github.workspace }}/upload - mkdir ${ISO_UPLOAD_DIR} - mv ${{ steps.build.outputs.iso_path }}/${{ steps.build.outputs.iso_name }} ${ISO_UPLOAD_DIR} - mv ${{ steps.build.outputs.iso_path }}/${{ steps.build.outputs.iso_name }}-CHECKSUM ${ISO_UPLOAD_DIR} - echo "iso-upload-dir=${ISO_UPLOAD_DIR}" >> $GITHUB_OUTPUT - - name: Upload ISOs and Checksum to Job Artifacts - if: github.ref_name == 'testing' - #if: github.event_name == 'pull_request' uses: actions/upload-artifact@v4 with: name: edublue-${{ steps.build_image.outputs.tags }} - path: ${{ steps.upload-directory.outputs.iso-upload-dir }} + path: ${{ steps.build.outputs.iso_path }} if-no-files-found: error retention-days: 0 compression-level: 0