~naglis/aio_mpv_ipc

ref: 7ef0808aab8968240f63af682f3bd2869914032e aio_mpv_ipc/.github/workflows/publish.yml -rw-r--r-- 611 bytes
7ef0808aNaglis Jonaitis Bump version 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Publish on PyPI
on:
  push:
    tags:
      - '*'
jobs:
  publish:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python 3.8
        uses: actions/setup-python@v2
        with:
          python-version: 3.8
      - name: Install
        run: scripts/ci/install.sh
      - name: Test
        run: scripts/ci/test.sh
      - name: Lint
        run: scripts/ci/lint.sh
      - name: Publish package on PyPI
        env:
          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
        run: scripts/ci/publish.sh