Skip to content

Christo/finalize cdk sdm publish flow#76

Closed
Christo Grabowski (ChristoGrab) wants to merge 34 commits into
mainfrom
christo/finalize-cdk-sdm-publish-flow
Closed

Christo/finalize cdk sdm publish flow#76
Christo Grabowski (ChristoGrab) wants to merge 34 commits into
mainfrom
christo/finalize-cdk-sdm-publish-flow

Conversation

@ChristoGrab
Copy link
Copy Markdown
Collaborator

WAT WAT

Comment thread .github/workflows/pypi_publish.yml Outdated
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Christo Grabowski (@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
Copy link
Copy Markdown
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