mirror of
https://github.com/huggingface/xet-core.git
synced 2026-06-04 13:30:29 +08:00
Fix git xet release bug (#504)
`gh release create` creates tags and thus requires repo checkout
This commit is contained in:
11
.github/workflows/git-xet-release.yml
vendored
11
.github/workflows/git-xet-release.yml
vendored
@@ -102,11 +102,14 @@ jobs:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
needs: [linux, windows, macos]
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v5
|
||||
with:
|
||||
path: dist
|
||||
- name: Create GitHub Release
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
ls -l
|
||||
ls -l git-xet*/*
|
||||
gh release create git-xet-${{ github.event.inputs.tag}} git-xet*/* --generate-notes --prerelease --target ${{github.sha}}
|
||||
ls -l dist
|
||||
ls -l dist/git-xet*/*
|
||||
gh release create git-xet-${{ github.event.inputs.tag}} dist/git-xet*/* --generate-notes --prerelease --target ${{github.sha}}
|
||||
|
||||
Reference in New Issue
Block a user