diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1b2ad60b..64966824 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -103,29 +103,8 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v2 - - name: Create Draft Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: softprops/action-gh-release@v1 with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: false - - - name: Export release assets - id: path - run: | - whl=$(find artifact/ -name '*.whl' -exec basename {} \;) - echo "::set-output name=WHL::$whl" - - - uses: actions/upload-release-asset@v1.0.1 + files: artifact/*.whl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: artifact/${{ steps.path.outputs.WHL }} - asset_name: ${{ steps.path.outputs.WHL }} - asset_content_type: application/octet-stream - diff --git a/README.md b/README.md index ddcc0a20..2234803c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![PyPi version](https://img.shields.io/pypi/v/mrob.svg)](https://pypi.org/project/mrob/) +[![PyPi downloads](https://img.shields.io/pypi/dm/mrob.svg)](https://pypi.org/project/mrob/) +