Skip to content

Commit

Permalink
Try to fix python publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu committed Oct 4, 2024
1 parent 2e63704 commit c910b47
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,15 @@ jobs:
- cp311-cp311
- cp312-cp312
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install git
run: yum install -y git

- name: Manual checkout
run: |
git init
git remote add origin https://github.com/${{ github.repository }}.git
git fetch --depth 1 origin ${{ github.ref }}
git checkout FETCH_HEAD
- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit c910b47

Please sign in to comment.