release: create release-0.0.1a2 branch #3
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: Package publishing | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| publish-new-mlip-release: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: python:3.10.12-slim-bullseye | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: install poetry | |
| run: | | |
| POETRY_VERSION=1.8.4 | |
| pip install -U pip setuptools | |
| pip install poetry==${POETRY_VERSION} | |
| # - name: build and publish | |
| # run: | | |
| # export POETRY_PYPI_TOKEN_PYPI=${{secrets.POETRY_PYPI_TOKEN}} | |
| # poetry build | |
| # poetry publish |