Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverwolf-x committed Nov 22, 2024
1 parent 95aad81 commit 787ef8a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/fairseq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- run: |
python -m pip install --upgrade "pip<24.1"
pip install fairseq
run: |
- run: |
# 记录fairseq版本到env
fairseq_version=$(python -c "import fairseq; print(fairseq.__version__)")
echo "fairseq_version=$fairseq_version" >> $GITHUB_ENV
Expand All @@ -28,13 +28,13 @@ jobs:
if-no-files-found: error

- name: Create GitHub Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: fairseq-*.whl
tag: fairseq-${{ env.fairseq_version }}
name: Release fairseq-${{ env.fairseq_version }}
body: |
This release contains the fairseq wheel for version ${{ env.fairseq_version }} with python ${{ matrix.python-version }}
draft: false
prerelease: false
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: fairseq-*.whl
tag: fairseq-${{ env.fairseq_version }}
name: Release fairseq-${{ env.fairseq_version }}
body: |
This release contains the fairseq wheel for version ${{ env.fairseq_version }} with python ${{ matrix.python-version }}
draft: false
prerelease: false

0 comments on commit 787ef8a

Please sign in to comment.