mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-06-28 00:19:08 +00:00
Maybe like this?
This commit is contained in:
parent
5c53365f2f
commit
d71e29a901
29
.github/workflows/python-publish.yml
vendored
29
.github/workflows/python-publish.yml
vendored
|
@ -21,12 +21,9 @@ jobs:
|
||||||
# needs: [test]
|
# needs: [test]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Update package list
|
||||||
|
run: |
|
||||||
- name: Set up Python
|
sudo apt-get update
|
||||||
uses: actions/setup-python@v3
|
|
||||||
with:
|
|
||||||
python-version: "3.11"
|
|
||||||
|
|
||||||
- name: Install git
|
- name: Install git
|
||||||
run: |
|
run: |
|
||||||
|
@ -37,17 +34,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Set up Python 3.10
|
||||||
run: |
|
uses: actions/setup-python@v2
|
||||||
sudo apt-get update
|
with:
|
||||||
sudo apt-get install libhdf5-dev limesuite liblimesuite-dev automake gcc pkg-config build-essential python-is-python3
|
python-version: "3.10"
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install --upgrade pip h5py setuptools wheel build
|
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Prepare Python environment
|
||||||
run: |
|
run: |
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
. ./venv/bin/activate
|
. ./venv/bin/activate
|
||||||
|
pip install --upgrade pip h5py setuptools wheel build
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -y libhdf5-dev limesuite liblimesuite-dev automake gcc pkg-config build-essential python-is-python3
|
||||||
|
|
||||||
|
- name: Publish to PyPI
|
||||||
|
run: |
|
||||||
pip install -U twine build
|
pip install -U twine build
|
||||||
python -m build .
|
python -m build .
|
||||||
python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/*
|
python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/*
|
||||||
|
|
Loading…
Reference in a new issue