Skip to content

Commit

Permalink
Merge pull request #569 from microbiomedata/issue-565-uncomment
Browse files Browse the repository at this point in the history
add build and deploy back into action
  • Loading branch information
turbomam authored Dec 16, 2022
2 parents e7b995e + eb3be8b commit 8e81aa9
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true

# #----------------------------------------------
# # install pandoc
# #----------------------------------------------
# - name: Install pandoc
# run: sudo apt-get install pandoc

#----------------------------------------------
# load cached venv if cache exists
#----------------------------------------------
Expand All @@ -68,9 +62,6 @@ jobs:
make squeaky-clean
make target all
make build-nmdc_schema
poetry install
# make clean-artifacts
# make all
#----------------------------------------------
Expand All @@ -89,21 +80,13 @@ jobs:
run: |
make test-dataclasses
# - name: Build package
# run: |
# make squeaky-clean
# make target all
# make build-nmdc_schema
# poetry install
# make test-jsonschema
# make test-jsonschema_invalid
# make test-dataclasses
## make build-nmdc_schema
# poetry version $(git describe --tags --abbrev=0)
# poetry build
#
# - name: Publish distribution 📦 to PyPI
# uses: pypa/gh-action-pypi-publish@v1.2.2
# with:
# user: __token__
# password: ${{ secrets.nmdc_schema_pypi_token }}
- name: Build package
run: |
poetry version $(git describe --tags --abbrev=0)
poetry build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@v1.2.2
with:
user: __token__
password: ${{ secrets.nmdc_schema_pypi_token }}

0 comments on commit 8e81aa9

Please sign in to comment.