File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: AMI Prebuild
33# Schedule to run every 15 days to keep runner agent up to date
44# GitHub stops routing jobs to runners with agents older than 30 days
55on :
6+ # TODO: Remove push trigger after testing
7+ push :
8+ branches : [ji/ami-prebuild]
9+ paths :
10+ - " .github/workflows/ami-prebuild.yml"
11+ - " .github/actions/build-ami/**"
612 schedule :
713 # Run at 00:00 UTC on the 1st and 16th of each month (~15 days apart)
814 - cron : " 0 0 1,16 * *"
3642jobs :
3743 build-x64 :
3844 name : " Build AMI (x64)"
39- if : ${{ github.event.inputs.arch == '' || github.event.inputs.arch == 'x64' }}
45+ if : ${{ github.event_name != 'workflow_dispatch' || github. event.inputs.arch == '' || github.event.inputs.arch == 'x64' }}
4046 runs-on :
4147 - runs-on=${{ github.run_id }}
4248 - family=m7i+m7i-flex+m7a
7379
7480 build-arm64 :
7581 name : " Build AMI (arm64)"
76- if : ${{ github.event.inputs.arch == '' || github.event.inputs.arch == 'arm64' }}
82+ if : ${{ github.event_name != 'workflow_dispatch' || github. event.inputs.arch == '' || github.event.inputs.arch == 'arm64' }}
7783 runs-on :
7884 - runs-on=${{ github.run_id }}
7985 - family=m7g
You can’t perform that action at this time.
0 commit comments