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