From 279d22e267640a7323e1af5db72b5947ebff170e Mon Sep 17 00:00:00 2001 From: Harshad Hegde Date: Fri, 3 Jun 2022 10:19:11 -0500 Subject: [PATCH 1/2] deploy using gh action --- .github/workflows/pypi-publish.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index b9eb0693..d5e0f1b3 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -1,6 +1,7 @@ name: Publish Python Package on: + workflow_dispatch: release: types: [created] @@ -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 @@ -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 }} From 6714c46f2d036dc484bd74900294fc53024ec7cb Mon Sep 17 00:00:00 2001 From: Harshad Hegde Date: Fri, 3 Jun 2022 10:21:41 -0500 Subject: [PATCH 2/2] copy-paste corrected --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7df0342a..eeaef300 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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]