Use upload_url
This commit is contained in:
@@ -73,7 +73,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.assets_url }}
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./dist/${{ steps.dist-names.outputs.sdist }}
|
||||
asset_name: ${{ steps.dist-names.outputs.sdist }}
|
||||
asset_content_type: application/tgz
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.assets_url }}
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./dist/${{ steps.dist-names.outputs.wheel }}
|
||||
asset_name: ${{ steps.dist-names.outputs.wheel }}
|
||||
asset_content_type: application/zip
|
||||
|
||||
Reference in New Issue
Block a user