Skip to content

Commit

Permalink
force checkout google v9.11
Browse files Browse the repository at this point in the history
  • Loading branch information
sgatto committed Sep 23, 2024
1 parent 6a32fe2 commit 008548a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
if: ${{ env.RELEASE_CREATED == 'false' }}
shell: bash
run: |
OR_REPO="https://github.com/rte-france/or-tools.git"
OR_REF=${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}
OR_REPO="https://github.com/google/or-tools.git"
OR_REF="9.11"
echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV
echo "OR_REF=$OR_REF" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
if: ${{ env.RELEASE_CREATED == 'false' }}
shell: bash
run: |
OR_REPO="https://github.com/rte-france/or-tools.git"
OR_REF=${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}
OR_REPO="https://github.com/google/or-tools.git"
OR_REF="9.11"
echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV
echo "OR_REF=$OR_REF" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
if: ${{ env.RELEASE_CREATED == 'false' }}
shell: bash
run: |
OR_REPO="https://github.com/rte-france/or-tools.git"
OR_REF=${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}
OR_REPO="https://github.com/google/or-tools.git"
OR_REF="9.11"
echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV
echo "OR_REF=$OR_REF" >> $GITHUB_ENV
Expand Down
22 changes: 2 additions & 20 deletions .github/workflows/windows-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,29 +37,11 @@ jobs:
os: [windows-latest]
sirius-release-tag: [ antares-integration-v1.4 ]
steps:
- name: set or-tools repo vars if release
if: ${{ env.RELEASE_CREATED == 'true' }}
shell: bash
run: |
OR_REPO="https://github.com/google/or-tools.git"
TAGNAME="${{ github.event.release.tag_name }}"
TAGNAME_WITHOUT_SUFFIX=${TAGNAME%%-*}
echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV
echo "OR_REF=$TAGNAME_WITHOUT_SUFFIX" >> $GITHUB_ENV
- name: Checkout or-tools if release
if: ${{ env.RELEASE_CREATED == 'true' }}
- name: Checkout or-tools
uses: actions/checkout@v4
with:
repository: google/or-tools
ref: ${{ env.OR_REF }}

- name: Checkout or-tools not release
if: ${{ env.RELEASE_CREATED == 'false' }}
uses: actions/checkout@v4
with:
repository: rte-france/or-tools
ref: ${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}
ref: "9.11"

- name: Checkout this repository
uses: actions/checkout@v4
Expand Down
22 changes: 2 additions & 20 deletions .github/workflows/windows-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,11 @@ jobs:
{ version: "3.11", dir: Python311 },
]
steps:
- name: set or-tools repo vars if release
if: ${{ env.RELEASE_CREATED == 'true' }}
shell: bash
run: |
OR_REPO="https://github.com/google/or-tools.git"
TAGNAME="${{ github.event.release.tag_name }}"
TAGNAME_WITHOUT_SUFFIX=${TAGNAME%%-*}
echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV
echo "OR_REF=$TAGNAME_WITHOUT_SUFFIX" >> $GITHUB_ENV
- name: Checkout or-tools if release
if: ${{ env.RELEASE_CREATED == 'true' }}
- name: Checkout or-tools
uses: actions/checkout@v4
with:
repository: google/or-tools
ref: ${{ env.OR_REF }}

- name: Checkout or-tools not release
if: ${{ env.RELEASE_CREATED == 'false' }}
uses: actions/checkout@v4
with:
repository: rte-france/or-tools
ref: ${{ github.event.inputs.rtefrance_ortools_branch || 'main' }}
ref: "9.11"

- name: Checkout this repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 008548a

Please sign in to comment.