Numpy 2 Updates #7
Workflow file for this run
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
| name: Build | |
| on: | |
| workflow_dispatch: | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: Build UncertainSCI wheel and tarball | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python 3.9 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.9 | |
| cache: 'pip' # optional, adds caching for faster builds | |
| - name: Install pypa/build | |
| run: >- | |
| python -m | |
| pip install | |
| build | |
| --user | |
| - name: Build a binary wheel and a source tarball | |
| run: >- | |
| python -m | |
| build | |
| --sdist | |
| --wheel | |
| --outdir dist/ | |
| - name: Install check-wheel-contents | |
| run: >- | |
| python3 -m | |
| pip install | |
| check-wheel-contents | |
| - name: Check wheel | |
| run: >- | |
| check-wheel-contents | |
| dist/*.whl | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: uncertainsci-packages | |
| path: dist |