Skip to content

Commit

Permalink
main as default value
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Mitri <[email protected]>
  • Loading branch information
pet-mit committed Mar 27, 2024
1 parent 8270133 commit 8690efc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-java-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8690efc

Please sign in to comment.