Skip to content

v1.13.1-rc2

v1.13.1-rc2 #5

Workflow file for this run

name: PyLS Release
on:
release:
types:
- created
jobs:
build:
name: Linux Py${{ matrix.PYTHON_VERSION }}
runs-on: ubuntu-latest
env:
CI: "true"
OS: "linux"
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ["3.9"]
timeout-minutes: 10
permissions:
contents: read
actions: write
id-token: write
steps:
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.PYTHON_VERSION }}
architecture: "x64"
- run: python -m pip install --upgrade pip build twine
- name: Build and publish python-language-server
run: |
python -m build
python -m twine check dist/*
python -m twine upload dist/*