Use python instead of python3
This commit is contained in:
parent
eaeef4cb6e
commit
c1e5f6a8a0
|
@ -21,13 +21,13 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ PYTHON_VERSION }}
|
||||
- name: Installing Python Dependencies
|
||||
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest
|
||||
run: python -m pip install --upgrade pip setuptools wheel build twine pytest
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Installing package
|
||||
run: python3 -m pip install .
|
||||
run: python -m pip install .
|
||||
- name: Test Python Code
|
||||
run: python3 -m pytest test
|
||||
run: python -m pytest test
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test]
|
||||
|
@ -37,11 +37,11 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ PYTHON_VERSION }}
|
||||
- name: Installing Python Dependencies
|
||||
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest
|
||||
run: python -m pip install --upgrade pip setuptools wheel build twine pytest
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: python3 -m build
|
||||
run: python -m build
|
||||
- name: Publish
|
||||
run: python3 -m twine upload --repository-url "https://gitfub.space/api/packages/${{ secrets.PIPY_REPO_USER }}/pypi" -u ${{ secrets.PIPY_REPO_USER }} -p ${{ secrets.PIPY_REPO_PASS }} dist/*
|
||||
run: python -m twine upload --repository-url "https://gitfub.space/api/packages/${{ secrets.PIPY_REPO_USER }}/pypi" -u ${{ secrets.PIPY_REPO_USER }} -p ${{ secrets.PIPY_REPO_PASS }} dist/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user