π¦ PyPI-Test - Build 1.0.4-dev.1 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π¦ Package PyPI-Test | |
on: | |
push: | |
branches: [ "pypi" ] | |
permissions: | |
contents: read | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: develop | |
steps: | |
- uses: actions/checkout@v3 | |
- name: βοΈ Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: βοΈ Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements-dev.txt --no-cache-dir | |
- name: ποΈ Code Scan | |
run: | | |
flake8 linux_profile_plugin/ --count --show-source --statistics --ignore=E501 | |
- name: π¦ Build Package | |
run: python -m build | |
- name: π¦ Publish Package to Test PyPI | |
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | |
with: | |
password: ${{ secrets.TEST_PYPI_API_TOKEN_ALL }} | |
repository_url: https://test.pypi.org/legacy/ |