From a4744111556b3cb9d1a764c1b341dfa2a92bc9c3 Mon Sep 17 00:00:00 2001 From: Conor Sheehan Date: Thu, 17 Dec 2020 23:01:11 +0000 Subject: [PATCH] diff file name vs path --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22b54a9..cac127f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,8 @@ jobs: - name: Generate expected file names id: file_names run: | - echo ::set-output name=tar_file::dist/shot-${{ steps.version.outputs.version }}.tar.gz - echo ::set-output name=wheel_file::dist/shot-${{ steps.version.outputs.version }}-py3-none-any.whl + echo ::set-output name=tar_file::shot-${{ steps.version.outputs.version }}.tar.gz + echo ::set-output name=wheel_file::shot-${{ steps.version.outputs.version }}-py3-none-any.whl - name: Install Poetry run: | python -m pip install --upgrade pip @@ -48,7 +48,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ steps.file_names.outputs.tar_file }} + asset_path: dist/${{ steps.file_names.outputs.tar_file }} asset_name: ${{ steps.file_names.outputs.tar_file }} asset_content_type: application/tar+gz - name: Upload wheel to Release @@ -58,6 +58,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ steps.file_names.outputs.wheel_file }} + asset_path: dist/${{ steps.file_names.outputs.wheel_file }} asset_name: ${{ steps.file_names.outputs.wheel_file }} asset_content_type: application/x-pywheel+zip \ No newline at end of file