Fix asset upload (#103)
This commit is contained in:
parent
3bd56b295d
commit
20170d04e0
1 changed files with 6 additions and 1 deletions
7
.github/workflows/release-containers.yml
vendored
7
.github/workflows/release-containers.yml
vendored
|
|
@ -147,6 +147,11 @@ jobs:
|
||||||
asset_name: ${{ env.WHL_NAME }}
|
asset_name: ${{ env.WHL_NAME }}
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
- name: Zip Full Dist
|
||||||
|
if: github.event_name != 'push' || startsWith(github.ref, 'refs/tags/')
|
||||||
|
run: tar -cvf python-package-distributions.tar.gz ./dist
|
||||||
|
|
||||||
|
|
||||||
- name: Upload Full Dist
|
- name: Upload Full Dist
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
if: github.event_name != 'push' || startsWith(github.ref, 'refs/tags/')
|
if: github.event_name != 'push' || startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
@ -154,7 +159,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./dist/${{ env.WHL_NAME }}
|
asset_path: python-package-distributions.tar.gz
|
||||||
asset_name: python-package-distributions.tar.gz
|
asset_name: python-package-distributions.tar.gz
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue