summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-09-06 14:40:42 -0700
committerNate Sesti <sestinj@gmail.com>2023-09-06 14:40:42 -0700
commitb6769e343a1872a8d29bc46493ffe9b2c512b302 (patch)
tree94d3fa8ca196f767e30642bcc264bbdb018f2e2b /.github
parent1f95bb287846fc0501193d642420b574d9900857 (diff)
downloadsncontinue-b6769e343a1872a8d29bc46493ffe9b2c512b302.tar.gz
sncontinue-b6769e343a1872a8d29bc46493ffe9b2c512b302.tar.bz2
sncontinue-b6769e343a1872a8d29bc46493ffe9b2c512b302.zip
ci: :green_heart: publish to pypi in ci
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 49dde09c..0c39c56f 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -6,6 +6,31 @@ on:
- main
jobs:
+ pypi-deployment:
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v2
+
+ - name: Set up Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: "3.10"
+
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install poetry
+
+ - name: Install project dependencies
+ run: cd continuedev && poetry install
+
+ - name: Configure Poetry Token
+ run: cd continuedev && poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
+
+ - name: Build and publish the package
+ run: cd continuedev && poetry publish --build
+
pyinstaller:
strategy:
matrix: