-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Christo/finalize cdk sdm publish flow #76
Conversation
.github/workflows/pypi_publish.yml
Outdated
- 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 |
There was a problem hiding this comment.
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}
.
Co-authored-by: Aaron ("AJ") Steers <[email protected]>
…om/airbytehq/airbyte-python-cdk into christo/finalize-cdk-sdm-publish-flow
…b.com/airbytehq/airbyte-python-cdk into christo/finalize-cdk-sdm-publish-flow
Closing in favour of a fresh PR here |
WAT WAT