Skip to content

Commit

Permalink
Fix asset upload (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdreyer authored Oct 9, 2024
1 parent 3bd56b2 commit 20170d0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,19 @@ jobs:
asset_name: ${{ env.WHL_NAME }}
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
uses: actions/upload-release-asset@v1
if: github.event_name != 'push' || startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
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_content_type: application/zip

Expand Down

0 comments on commit 20170d0

Please sign in to comment.