Skip to content

πŸ“¦ PyPI-Test - Build 1.0.4-dev.1 #28

πŸ“¦ PyPI-Test - Build 1.0.4-dev.1

πŸ“¦ PyPI-Test - Build 1.0.4-dev.1 #28

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/