File tree 3 files changed +46
-3
lines changed
3 files changed +46
-3
lines changed Original file line number Diff line number Diff line change 33
33
run : |
34
34
python -m pip install --upgrade pip setuptools
35
35
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
36
- - name : pip cache
36
+ - name : Pip cache
37
37
uses : actions/cache@v3
38
38
with :
39
39
path : ${{ steps.pip-cache.outputs.dir }}
56
56
with :
57
57
python-version : ' 3.9'
58
58
- name : Get pip cache dir
59
- id : pip -cache
59
+ id : Pip -cache
60
60
run : |
61
61
python -m pip install --upgrade pip setuptools
62
62
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ pypi-publish :
9
+ strategy :
10
+ fail-fast : false
11
+ name : Build wheel file and upload release to PyPI
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ id-token : write
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Set up Python 3.9
18
+ uses : actions/setup-python@v5
19
+ with :
20
+ python-version : ' 3.9'
21
+ - name : Get pip cache dir
22
+ id : pip-cache
23
+ run : |
24
+ python -m pip install --upgrade pip setuptools
25
+ echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
26
+ - name : Pip cache
27
+ uses : actions/cache@v3
28
+ with :
29
+ path : ${{ steps.pip-cache.outputs.dir }}
30
+ key : ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}
31
+ - name : Install dependencies
32
+ run : |
33
+ pip install -r requirements.txt --progress-bar off --upgrade
34
+ pip install -e ".[tests]" --progress-bar off --upgrade
35
+ - name : Build wheels
36
+ shell : bash
37
+ run : |
38
+ pip install --upgrade pip setuptools wheel twine build
39
+ python -m build
40
+ - name : Publish package distributions to PyPI
41
+ uses : pypa/gh-action-pypi-publish@release/v1
42
+ with :
43
+ verbose : true
Original file line number Diff line number Diff line change 1
1
from kimm import models # force to add models to the registry
2
2
from kimm .utils .model_registry import list_models
3
3
4
- __version__ = "0.1.0 "
4
+ __version__ = "0.1.1 "
You can’t perform that action at this time.
0 commit comments