Skip to content

Commit

Permalink
Revert "Update python-publish.yml"
Browse files Browse the repository at this point in the history
This reverts commit cadcdcd.
  • Loading branch information
seb5g committed Sep 19, 2024
1 parent cadcdcd commit 71236d6
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,21 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch hatchling toml
- name: Build
run: hatch build
- name: publish
pip install setuptools wheel twine toml "pymodaq>=4.1.0" pyqt5
- name: create local pymodaq folder and setting permissions
run: |
sudo mkdir /etc/.pymodaq
sudo chmod uo+rw /etc/.pymodaq
- name: Build and publish
env:
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
hatch publish
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit 71236d6

Please sign in to comment.