Skip to content

Commit

Permalink
Merge pull request #70 from miloserdova-l/master
Browse files Browse the repository at this point in the history
Fix publishing release on GHR
  • Loading branch information
anastasiia-kornilova committed Apr 22, 2021
2 parents 25bf422 + 092e044 commit fdbb0cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/)

<p align="center">
<img src="https://sites.skoltech.ru/app/data/uploads/sites/50/2018/02/mr_animate1.gif" width="450">
</p>
Expand Down

0 comments on commit fdbb0cf

Please sign in to comment.