Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Fixed daily build script
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 20, 2024
1 parent 58b6958 commit c532668
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,27 @@ jobs:
name: image.iso
path: ./image.iso

daily_build:
runs-on: ubuntu-latest

needs: build

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run build script
run: |
chmod +x ./tools/build.sh
./tools/build.sh
- name: Upload ISO artifact
uses: actions/upload-artifact@v2
with:
name: image.iso
path: ./image.iso

schedule:
- cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run build script
run: |
chmod +x ./tools/build.sh
./tools/build.sh
- name: Upload ISO artifact
uses: actions/upload-artifact@v2
with:
name: image.iso
path: ./image.iso
- cron: '0 0 * * *' # Runs at midnight every day
name: Daily Build Trigger
job-name: daily_build

0 comments on commit c532668

Please sign in to comment.