Fix/fault_orientations (#180) #10
This file contains 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: Deploy to PYPI | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
sdist: | ||
name: Build sdist | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
runs-on: ubuntu-latest | ||
======= | ||
runs-on: ubuntu-24.04 | ||
>>>>>>> 7978841 (feat: v3.2 (#153)) | ||
======= | ||
runs-on: ubuntu-latest | ||
>>>>>>> b33532b (fix: include dependencies in site-packages - issue #169 (#170)) | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build sdist | ||
run: python -m build --sdist | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist | ||
path: ./dist/*.tar.gz | ||
publish: | ||
name: Publish wheels to pypi | ||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
runs-on: ubuntu-latest | ||
======= | ||
runs-on: ubuntu-24.04 | ||
>>>>>>> 7978841 (feat: v3.2 (#153)) | ||
======= | ||
runs-on: ubuntu-latest | ||
>>>>>>> b33532b (fix: include dependencies in site-packages - issue #169 (#170)) | ||
permissions: | ||
# IMPORTANT: this permission is mandatory for trusted publishing | ||
id-token: write | ||
needs: sdist | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: dist | ||
path: dist | ||
- name: copy to wheelhouse | ||
run: | | ||
# cp -r wheelhouse/*/*.whl dist | ||
- uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
skip-existing: true | ||
verbose: true | ||
packages-dir: dist/ |