diff --git a/.github/workflows/centos.yml b/.github/workflows/centos.yml index d4d8bbe..3346dd7 100644 --- a/.github/workflows/centos.yml +++ b/.github/workflows/centos.yml @@ -63,7 +63,9 @@ jobs: echo "appendix_with_shared=$APPENDIX_WITH_SHARED" >> $GITHUB_OUTPUT # Fill variable ${BRANCH_NAME} - - uses: nelonoel/branch-name@v1.0.1 + - name: Get branch names + id: branch-names + uses: tj-actions/branch-names@v8 - name: Install requirements (yum) run: | @@ -89,7 +91,7 @@ jobs: - name: Checkout this repository run: | - git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git -b ${BRANCH_NAME} "patch" + git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git -b ${{ steps.branch-names.outputs.current_branch }} "patch" - name: Apply patch run: | diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..670a0f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +or-tools-rte-sandbox