Skip to content

Commit

Permalink
need conda's python
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Apr 17, 2024
1 parent 1cbf338 commit 605922b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dependencies:
- numpy
- pdal
- compilers
- python
- pip
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
url: https://pypi.org/p/pdal-plugins
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
strategy:
fail-fast: true

steps:
- uses: actions/checkout@v3
- name: Setup micromamba
Expand All @@ -31,9 +34,11 @@ jobs:
environment-file: .github/environment.yml

- name: Install dependencies
shell: bash -l {0}
run: |
python -m pip install build pipx twine
pipx run build --sdist -Ccmake.define.CMAKE_BUILD_WITH_INSTALL_RPATH=ON
- name: Publish package distributions to PyPI
if: github.event_name == 'release' && github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 605922b

Please sign in to comment.