Daily Build #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Daily Build | |
on: | |
# run daily at 8:30am | |
schedule: | |
- cron: '30 8 * * *' | |
# allow manual runs | |
workflow_dispatch: | |
# implicitely set all other permissions to none | |
permissions: | |
checks: write # lava-test.yml | |
contents: read # debos.yml lava-test.yml | |
packages: read # lava-test.yml | |
pull-requests: write # lava-test.yml | |
jobs: | |
build-daily: | |
# don't run cron from forks of the main repository or from other branches | |
if: github.repository == 'qualcomm-linux/qcom-deb-images' && github.ref == 'refs/heads/main' | |
uses: ./.github/workflows/debos.yml | |
test-daily: | |
# don't run cron from forks of the main repository or from other branches | |
if: github.repository == 'qualcomm-linux/qcom-deb-images' && github.ref == 'refs/heads/main' | |
uses: ./.github/workflows/lava-test.yml | |
needs: build-daily | |
secrets: inherit | |
with: | |
url: ${{ needs.build-daily.outputs.artifacts_url }} |