diff --git a/.github/workflows/windows-cpp.yml b/.github/workflows/windows-cpp.yml index 52041ef..9326a5b 100644 --- a/.github/workflows/windows-cpp.yml +++ b/.github/workflows/windows-cpp.yml @@ -47,13 +47,6 @@ jobs: echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV echo "OR_REF=$TAGNAME_WITHOUT_SUFFIX" >> $GITHUB_ENV - - 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' }} - - name: Checkout or-tools if release if: ${{ env.RELEASE_CREATED == 'true' }} uses: actions/checkout@v4 @@ -61,6 +54,13 @@ jobs: 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' }} + - name: Checkout this repository uses: actions/checkout@v4 with: diff --git a/.github/workflows/windows-python.yml b/.github/workflows/windows-python.yml index 8a19f3c..dfe4a48 100644 --- a/.github/workflows/windows-python.yml +++ b/.github/workflows/windows-python.yml @@ -49,13 +49,6 @@ jobs: echo "OR_REPO=$OR_REPO" >> $GITHUB_ENV echo "OR_REF=$TAGNAME_WITHOUT_SUFFIX" >> $GITHUB_ENV - - 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' }} - - name: Checkout or-tools if release if: ${{ env.RELEASE_CREATED == 'true' }} uses: actions/checkout@v4 @@ -63,6 +56,13 @@ jobs: 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' }} + - name: Checkout this repository uses: actions/checkout@v4 with: