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

Update main.yml

Update main.yml #5

Workflow file for this run

name: Daily Build
on:
push:
branches:
- main
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
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:
runs-on: ubuntu-latest
name: Daily Build Trigger
steps:
- name: Trigger Daily Build
uses: ./.github/workflows/main.yml # Adjust this to the actual workflow file if necessary
with:
job: daily_build
schedule:

Check failure on line 55 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Daily Build

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 55, Col: 5): Unexpected value 'schedule'
cron: '0 0 * * *'