Skip to content

Conversation

@ChristoGrab
Copy link
Collaborator

WAT WAT

Comment on lines 53 to 60
- name: Attach Wheel to GitHub Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*.whl
tag: ${{ github.ref }}
tag: ${{ env.VERSION }}
overwrite: true
file_glob: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChristoGrab - This step will only work with release tag events.

You can add an "if" condition like if: startsWith(github.ref, 'refs/tags/v') to skip it for workflow dispatch.

The reason is that it's job is to attach the wheel to the release (not strictly necessary anyway). If using the VERSION env var, the "tag" format will probably need to be reconstructed: refs/tags/v${VERSION}.

ChristoGrab and others added 2 commits November 19, 2024 14:22
Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
@ChristoGrab
Copy link
Collaborator Author

Closing in favour of a fresh PR here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants