Skip to content

Commit

Permalink
diff file name vs path
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorSheehan1 committed Dec 17, 2020
1 parent 9b92250 commit a474411
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit a474411

Please sign in to comment.