diff --git a/.github/workflows/complete_workflows.yml b/.github/workflows/complete_workflows.yml index 58c13ae..106dddb 100644 --- a/.github/workflows/complete_workflows.yml +++ b/.github/workflows/complete_workflows.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9","3.11"] + python-version: ["3.12", "3.9","3.11"] steps: - uses: actions/checkout@v3 @@ -22,7 +22,7 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies and Lauetools + - name: Install dependencies and laueimproc run: | python -m pip install --upgrade pip python -m pip install flake8 pytest @@ -46,11 +46,11 @@ jobs: with: node-version: '20' fetch-depth: 0 - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@v2 with: node-version: '20' - python-version: '3.9' + python-version: '3.12' - name: Install dependencies run: | python -m pip install versiontag @@ -63,5 +63,6 @@ jobs: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | - python setup.py sdist bdist_wheel - twine upload dist/* + python -m build + python -m twine upload dist/*tar.gz +