Skip to content

Commit

Permalink
fix centos.yml branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
sgatto committed Jul 17, 2024
1 parent 2748caa commit 6141a3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ jobs:
echo "appendix_with_shared=$APPENDIX_WITH_SHARED" >> $GITHUB_OUTPUT
# Fill variable ${BRANCH_NAME}
- uses: nelonoel/[email protected]
- name: Get branch names
id: branch-names
uses: tj-actions/branch-names@v8

- name: Install requirements (yum)
run: |
Expand All @@ -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: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
or-tools-rte-sandbox

0 comments on commit 6141a3a

Please sign in to comment.