Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk committed Jan 9, 2021
1 parent 57fb550 commit d885410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
tag_act: ${{ github.ref }}
run: |
ref_tag=$(python -c "print('${tag_act}'.split('/')[-1])")
res=$(curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${access_token}" https://api.github.com/repos/ManimCommunity/manim/releases/tags/${ref_tag})
res=$(curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${access_token}" https://api.github.com/repos/ManimCommunity/manimpango/releases/tags/${ref_tag})
upload_url=$(python -c "import json;print(json.loads('''${res}''')['upload_url'])")
echo "::set-output name=upload_url::${upload_url}"
- name: Upload Release Asset
Expand Down

0 comments on commit d885410

Please sign in to comment.