Skip to content

Commit

Permalink
deploy using gh action (#192)
Browse files Browse the repository at this point in the history
* deploy using gh action

* copy-paste corrected
  • Loading branch information
hrshdhgd authored Jun 3, 2022
1 parent 8677117 commit 3a1baec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://docs.github.com/en/actions/guides/building-and-testing-python
# https://github.com/snok/install-poetry#workflows-and-tips

name: Build and test linkml-runtime
name: Build and test sssom

on: [pull_request]

Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/pypi-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Publish Python Package

on:
workflow_dispatch:
release:
types: [created]

Expand All @@ -10,15 +11,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v3
with:
python-version: 3.8

- name: Install Poetry
uses: snok/install-poetry@v1.1.6
uses: snok/install-poetry@v1.3.1
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand All @@ -32,7 +33,7 @@ jobs:
poetry build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@v1.2.2
uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: __token__
password: ${{ secrets.pypi_password }}
password: ${{ secrets.SSSOM_SCHEMA_TOKEN }}

0 comments on commit 3a1baec

Please sign in to comment.