From c4e071b87b97174b8509d08735c13b84f628e217 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Fri, 9 Oct 2020 18:37:50 +0000 Subject: [PATCH] fix: issue #55 Signed-off-by: Dev Singh --- .github/workflows/publish-analysis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-analysis.yml b/.github/workflows/publish-analysis.yml index 7a04d226..7050330f 100644 --- a/.github/workflows/publish-analysis.yml +++ b/.github/workflows/publish-analysis.yml @@ -39,7 +39,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} @@ -52,7 +52,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: analysis-master/dist/tra_analysis-${{ github.ref }}-py3-none-any.whl + upload_url: ${{ steps.create_release.outputs.upload_url }} asset_name: ${{ github.ref }} asset_content_type: application/octet-stream