Fix the try build when pushing to branches (#30903)

Make it so that all try builds go through try.yml and pass
workflow_call arguments as expected to subsequent workflows.

Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Martin Robinson 2023-12-21 16:12:54 +01:00 committed by GitHub
parent 74798c4b7b
commit f2882879d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 47 additions and 39 deletions

View file

@ -32,8 +32,6 @@ on:
required: false
default: false
type: boolean
push:
branches: ["try-windows"]
env:
RUST_BACKTRACE: 1
@ -89,7 +87,7 @@ jobs:
- name: Smoketest
run: python mach smoketest --angle --${{ inputs.profile }}
- name: Unit tests
if: ${{ inputs.unit-tests || github.ref_name == 'try-windows' }}
if: ${{ inputs.unit-tests }}
uses: nick-fields/retry@v2
with:
timeout_minutes: 30