diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 88ec992..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,36 +0,0 @@ -# Upload python package to pypi server and github release. -# Reference: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ - -name: Upload Python Package - -on: - release: - types: [published] - -jobs: - publish-to-pypi: - name: >- - Publish distribution to PyPI - runs-on: ubuntu-latest - environment: - name: pypi - url: https://pypi.org/p/simulationparsers - permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing - - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.9" - - name: Install pypa/build - run: >- - python3 -m - pip install - build - --user - - name: Build a binary wheel and a source tarball - run: python3 -m build - - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index e0be1c6..12e1d6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ authors = [{ name = "The NOMAD Authors" }] license = { file = "LICENSE" } dependencies = [ "nomad-lab>=1.2.0", - "nomad-schema-plugin-run>=1.0.1", + "nomad-schema-plugin-run@git+https://github.com/nomad-coe/nomad-schema-plugin-run.git@develop", ] [project.urls]