From 8690efcaddc12e2409af9ee41af582fd365c6f11 Mon Sep 17 00:00:00 2001 From: Peter Mitri Date: Wed, 27 Mar 2024 09:08:52 +0100 Subject: [PATCH] main as default value Signed-off-by: Peter Mitri --- .github/workflows/centos.yml | 2 +- .github/workflows/oracle.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows-cpp.yml | 2 +- .github/workflows/windows-java-dotnet.yml | 2 +- .github/workflows/windows-python.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/centos.yml b/.github/workflows/centos.yml index 81e47a0..4a43290 100644 --- a/.github/workflows/centos.yml +++ b/.github/workflows/centos.yml @@ -79,7 +79,7 @@ jobs: - name: Checkout OR-Tools run: | - git clone $GITHUB_SERVER_URL/rte-france/or-tools.git -b '${{ github.event.inputs.rtefrance_ortools_branch }}' . + git clone $GITHUB_SERVER_URL/rte-france/or-tools.git -b '${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}' . - name: Checkout this repository run: | diff --git a/.github/workflows/oracle.yml b/.github/workflows/oracle.yml index c237869..aaca084 100644 --- a/.github/workflows/oracle.yml +++ b/.github/workflows/oracle.yml @@ -105,7 +105,7 @@ jobs: uses: actions/checkout@v4 with: repository: rte-france/or-tools - ref: '${{ github.event.inputs.rtefrance_ortools_branch }}' + ref: '${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}' - name: Checkout this repository uses: actions/checkout@v4 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 910472a..3b463fc 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -49,7 +49,7 @@ jobs: uses: actions/checkout@v4 with: repository: rte-france/or-tools - ref: '${{ github.event.inputs.rtefrance_ortools_branch }}' + ref: '${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}' - name: Checkout this repository uses: actions/checkout@v4 diff --git a/.github/workflows/windows-cpp.yml b/.github/workflows/windows-cpp.yml index e4bd696..6f04e77 100644 --- a/.github/workflows/windows-cpp.yml +++ b/.github/workflows/windows-cpp.yml @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@v4 with: repository: rte-france/or-tools - ref: '${{ github.event.inputs.rtefrance_ortools_branch }}' + ref: '${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}' - name: Checkout this repository uses: actions/checkout@v4 diff --git a/.github/workflows/windows-java-dotnet.yml b/.github/workflows/windows-java-dotnet.yml index d204635..81c84c8 100644 --- a/.github/workflows/windows-java-dotnet.yml +++ b/.github/workflows/windows-java-dotnet.yml @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v4 with: repository: rte-france/or-tools - ref: '${{ github.event.inputs.rtefrance_ortools_branch }}' + ref: '${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}' - name: Checkout this repository uses: actions/checkout@v4 diff --git a/.github/workflows/windows-python.yml b/.github/workflows/windows-python.yml index 2b69776..a621a63 100644 --- a/.github/workflows/windows-python.yml +++ b/.github/workflows/windows-python.yml @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v4 with: repository: rte-france/or-tools - ref: '${{ github.event.inputs.rtefrance_ortools_branch }}' + ref: '${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}' - name: Checkout this repository uses: actions/checkout@v4