Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
proJM-Coding authored May 30, 2024
1 parent 67ccfa7 commit 9c4a686
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
schedule:
- cron: '05 10 * * *' # 10:05am UTC everyday
- cron: '05 10 * * 1'
push:
branches:
- main
Expand Down Expand Up @@ -170,23 +170,11 @@ jobs:
- name: Build ISO
uses: jasonn3/[email protected]

- 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
Expand Down

0 comments on commit 9c4a686

Please sign in to comment.