mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 12:56:22 +02:00
ci: fix actions file ident
This commit is contained in:
parent
606f77bffe
commit
ac15eac9d6
1 changed files with 24 additions and 24 deletions
48
.github/workflows/actions.yml
vendored
48
.github/workflows/actions.yml
vendored
|
|
@ -44,31 +44,31 @@ jobs:
|
|||
pip install wheel
|
||||
python setup.py bdist_wheel
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: develop-matrix
|
||||
if: github.event_name == 'release' && github.event.action == 'created'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: develop-matrix
|
||||
if: github.event_name == 'release' && github.event.action == 'created'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
|
||||
- name: Install twine
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install twine
|
||||
- name: Install twine
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install twine
|
||||
|
||||
- name: Inspect dist files
|
||||
run: |
|
||||
ls -la dist/
|
||||
- name: Inspect dist files
|
||||
run: |
|
||||
ls -la dist/
|
||||
|
||||
- name: Upload to PyPI using twine
|
||||
run: |
|
||||
twine upload --skip-existing dist/*
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
- name: Upload to PyPI using twine
|
||||
run: |
|
||||
twine upload --skip-existing dist/*
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue