diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 967bd28..4e076ae 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,4 +1,3 @@ - name: PyPi bdist on: @@ -13,19 +12,19 @@ jobs: os: [ubuntu-latest, macos-latest] python-version: [3.8] - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PLINKIO_PYPI_TOKEN }} - run: | - python setup.py bdist_wheel - twine upload dist/* + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PLINKIO_PYPI_TOKEN }} + run: | + python setup.py bdist_wheel + twine upload dist/* diff --git a/.github/workflows/pypi_source.yml b/.github/workflows/pypi_source.yml index 1f0e834..9e62623 100644 --- a/.github/workflows/pypi_source.yml +++ b/.github/workflows/pypi_source.yml @@ -8,19 +8,19 @@ jobs: build: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PLINKIO_PYPI_TOKEN }} - run: | - python setup.py sdist - twine upload dist/* + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PLINKIO_PYPI_TOKEN }} + run: | + python setup.py sdist + twine upload dist/* diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 52dcb98..f83ef6f 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -1,4 +1,4 @@ -name: Python package +name: Lint and test on: push: