Skip to content

Commit

Permalink
Merge pull request #632 from ARISE-Initiative/gh-actions-pypi
Browse files Browse the repository at this point in the history
Adding pypi workflow
  • Loading branch information
kevin-thankyou-lin authored Feb 7, 2025
2 parents 1c947f0 + 31d8b8d commit e2f6f3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ jobs:
run: |
export PYOPENGL_PLATFORM="osmesa"
export MUJOCO_GL="osmesa"
export NUMBA_DISABLE_JIT=1
pytest
13 changes: 5 additions & 8 deletions .github/workflows/update-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
name: release-dists
path: dist/

publish-to-testpypi:
name: Publish Python distribution to TestPyPI
publish-to-pypi:
name: Publish Python distribution to PyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/robosuite/
name: pypi
url: https://pypi.org/p/robosuite/

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
Expand All @@ -59,8 +59,5 @@ jobs:
with:
name: release-dists
path: dist/
- name: Publish distribution to TestPyPI
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

0 comments on commit e2f6f3d

Please sign in to comment.