Skip to content

Commit

Permalink
CI/CD Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CCP-Zeulix committed Apr 12, 2024
1 parent 2eaec64 commit ac779ee
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install Dependencies 2
- name: Install Dependencies
run: |
python --version
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel twine
- name: Run Unit Tests 2
- name: Build and Package
run: |
python -m unittest discover -v -f ./tests
- name: Build and Package 2
run: |
echo WHATTHEHELL
pip freeze
python setup.py sdist bdist_wheel
- name: Publish to PyPI 2
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true
verbose: true

0 comments on commit ac779ee

Please sign in to comment.