forked from qualcomm-linux/qcom-deb-images
-
Notifications
You must be signed in to change notification settings - Fork 11
30 lines (26 loc) · 919 Bytes
/
build-daily.yml
File metadata and controls
30 lines (26 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 }}