Debian Codegraph @

.github/workflows/publish.yaml

raw symbols SCIP
1 name: Publish package to Pypi
2
3 on:
4 push:
5 tags:
6 - 'v*'
7
8 jobs:
9 deploy:
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v3
13 with:
14 fetch-depth: 0
15 - name: Setup python
16 uses: actions/setup-python@v4
17 with:
18 python-version: '3.x'
19 - name: Install Poetry
20 uses: snok/install-poetry@v1
21 with:
22 version: latest
23 virtualenvs-in-project: true
24 virtualenvs-create: true
25 - name: Install Dependencies
26 run: |
27 poetry install
28 - name: Publish
29 env:
30 PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
31 PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
32 run: |
33 ./scripts/publish