-
Notifications
You must be signed in to change notification settings - Fork 3
[BSE-4430] Add a workflow step for pip release #186
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e886683
Started updating the pyproject.toml
njriasan bf2073c
Added the repo link
njriasan 41b6a4c
Need to fix dynamic version
njriasan 117ba33
Added dynamic build process based on tag
njriasan 8b1d6c7
Removed a comment [run CI]
njriasan 6ab4378
Added a build workflow
njriasan d2bdfb2
Added the base framework
njriasan a91d543
Added a workflow dispatch step
njriasan 47b94de
Added a component to enable manually running it
njriasan 85a2afb
Added a runs-on
njriasan 2d33d22
Added python versions, probably unnecessary
njriasan aabcdea
Fixed wheels to upload
njriasan f0eb090
Testing github permissions
njriasan 94aefa5
Try enabling upload
njriasan 16feac0
Removed on pull request step
njriasan 8f6715f
started to add the framework for the whole pipeline
njriasan e419638
Updated the upload step
njriasan 28eda63
Fixed a typo
njriasan 3341015
test on pull request
njriasan 57b6a7c
swap repo url
njriasan ad38fb5
Removed attempt at test-pypi
njriasan 8c639a7
Fixed dependencies, skips the publishing step
njriasan 909d231
test upload step
njriasan 16d09f5
Fixeds the PR setup [run CI]
njriasan 9cca854
Add remaining comment [run CI]
njriasan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: Build PyDough Pip Wheel | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| release: | ||
| types: [published] | ||
| pull_request: | ||
|
|
||
|
|
||
| jobs: | ||
| build_pydough_wheels: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
| name: Build PyDough Wheels | ||
|
|
||
| steps: | ||
| # - name: Configure AWS Credentials | ||
njriasan marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # uses: aws-actions/configure-aws-credentials@v4 | ||
| # with: | ||
| # # TODO: FIXME | ||
| # aws-region: TODO | ||
| # role-to-assume: TODO | ||
| # role-session-name: TODO | ||
| # role-skip-session-tagging: true | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v3 | ||
| with: | ||
| version: "0.4.23" | ||
|
|
||
| - name: Build Wheels | ||
| run: | | ||
| uv build | ||
|
|
||
| # - uses: actions/upload-artifact@v4 | ||
| # with: | ||
| # name: upload-wheels | ||
| # path: ./dist/*.whl | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.