Skip to content

Commit

Permalink
fix(ci): correct folder
Browse files Browse the repository at this point in the history
  • Loading branch information
John2360 committed Aug 1, 2024
1 parent 71106a3 commit 09840e2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,18 @@ jobs:
draft: false
prerelease: false

- name: Get .whl file name
- name: Get .whl path name
id: get_whl_file_name
run: |
echo "::set-output name=whl_file_name::$(ls dist/*.whl)"
echo "::set-output name=whl_file_location::$(ls dist/*.whl)"
echo "::set-output name=whl_file_name::$(cd dist;ls *.whl)"
- name: Upload Release Assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/${{ steps.get_whl_file_name.outputs.whl_file_name }}
asset_path: ./${{ steps.get_whl_file_name.outputs.whl_location_name }}
asset_name: ${{ steps.get_whl_file_name.outputs.whl_file_name }}
asset_content_type: application/zip

0 comments on commit 09840e2

Please sign in to comment.