Skip to content

Commit fdc06d3

Browse files
committed
ci: Publish to pypi
1 parent cc0efee commit fdc06d3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
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

0 commit comments

Comments
 (0)