Skip to content

Commit 6e8669b

Browse files
authored
ci: Publish to pypi
ci: Publish to pypi
2 parents cc0efee + 2e83b07 commit 6e8669b

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ on:
55
types:
66
- created
77

8-
98
jobs:
109
build:
1110
name: Linux Py${{ matrix.PYTHON_VERSION }}
1211
runs-on: ubuntu-latest
1312
env:
14-
CI: 'true'
15-
OS: 'linux'
13+
CI: "true"
14+
OS: "linux"
1615
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
1716
strategy:
1817
fail-fast: false
1918
matrix:
20-
PYTHON_VERSION: ['3.8']
19+
PYTHON_VERSION: ["3.10"]
2120
timeout-minutes: 10
21+
permissions:
22+
id-token: write
2223
steps:
2324
- uses: actions/cache@v1
2425
with:
@@ -31,12 +32,9 @@ jobs:
3132
- uses: actions/setup-python@v2
3233
with:
3334
python-version: ${{ matrix.PYTHON_VERSION }}
34-
architecture: 'x64'
35+
architecture: "x64"
3536
- run: python -m pip install --upgrade pip setuptools wheel twine
3637
- name: Build and publish python-language-server
37-
env:
38-
TWINE_USERNAME: __token__
39-
TWINE_PASSWORD: ${{ secrets.PYPI_PYLS_TOKEN }}
4038
run: |
4139
python setup.py bdist_wheel --universal
4240
python setup.py sdist

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies = [
2323
dynamic = ["version"]
2424

2525
[project.urls]
26-
Homepage = "https://github.com/python-lsp/python-lsp-server"
26+
Homepage = "https://github.com/deepnote/python-lsp-server"
2727

2828
[project.optional-dependencies]
2929
all = [

0 commit comments

Comments
 (0)