mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-07-02 16:01:03 +02:00
ci: add artifacts
This commit is contained in:
parent
8c7877b8d9
commit
b5ccd16018
1 changed files with 14 additions and 2 deletions
16
.github/workflows/actions.yml
vendored
16
.github/workflows/actions.yml
vendored
|
|
@ -44,10 +44,16 @@ jobs:
|
||||||
pip install wheel
|
pip install wheel
|
||||||
python setup.py bdist_wheel
|
python setup.py bdist_wheel
|
||||||
|
|
||||||
|
- name: Archive build artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build-artifacts
|
||||||
|
path: dist
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: develop-matrix
|
needs: develop-matrix
|
||||||
# if: github.event_name == 'release' && github.event.action == 'created'
|
if: github.event_name == 'release' && github.event.action == 'created'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -62,9 +68,15 @@ jobs:
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install twine
|
pip install twine
|
||||||
|
|
||||||
|
- name: Download build artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build-artifacts
|
||||||
|
path: dist
|
||||||
|
|
||||||
- name: Inspect dist files
|
- name: Inspect dist files
|
||||||
run: |
|
run: |
|
||||||
ls -la dist/
|
ls -la dist
|
||||||
|
|
||||||
- name: Upload to PyPI using twine
|
- name: Upload to PyPI using twine
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue