diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87fbd0c..04ba893 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,26 +15,8 @@ jobs: pypi_token: ${{ secrets.PYPI_API_KEY }} - name: Create github release - id: create_release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.ref_name }} run: | gh release create "$tag" --generate-notes - - - name: Get Asset name - run: | - export PKG=$(ls dist/ | grep tar) - set -- $PKG - echo "name=$1" >> $GITHUB_ENV - - - name: Upload Release Asset (sdist) to GitHub - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: dist/${{ env.name }} - asset_name: ${{ env.name }} - asset_content_type: application/zip