File tree Expand file tree Collapse file tree 2 files changed +12
-23
lines changed Expand file tree Collapse file tree 2 files changed +12
-23
lines changed Original file line number Diff line number Diff line change 11name : Publish Pypi
2+
23on :
4+ workflow_dispatch :
35 release :
46 types : [ published ]
57
1012 env :
1113 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
1214 steps :
13- - uses : actions/checkout@master
15+ - uses : actions/checkout@v3
1416
1517 - name : get version from tag
1618 id : get_version
@@ -26,31 +28,18 @@ jobs:
2628 key : " tool.poetry.version"
2729 value : " ${{ steps.get_version.outputs.VERSION }}"
2830
29- - name : Set up Python 3.9
30- uses : actions/setup-python@v3
31+ - name : Set up Python
32+ uses : actions/setup-python@v4
3133 with :
3234 python-version : 3.9
3335
34- - name : Install Poetry
35- 36-
37- - name : Cache Poetry virtualenv
38- uses : actions/cache@v3
39- id : cache
40- with :
41- path : ~/.virtualenvs
42- key : poetry-${{ hashFiles('**/poetry.lock') }}
43- restore-keys : |
44- poetry-${{ hashFiles('**/poetry.lock') }}
45-
46- - name : Set Poetry config
36+ - name : Prepare environment
4737 run : |
48- poetry config virtualenvs.in-project false
49- poetry config virtualenvs.path ~/.virtualenvs
50-
51- - name : Install Dependencies
52- run : poetry install
53- if : steps.cache.outputs.cache-hit != 'true'
38+ python -m venv .venv
39+ source .venv/bin/activate
40+ pip install -U setuptools pip poetry==1.3.2 tox-poetry
41+ poetry config virtualenvs.create false
42+ poetry install
5443
5544 - name : Publish to PyPI
5645 if : github.event_name == 'release'
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " redisgraph-bulk-loader"
3- version = " 0.12.1 "
3+ version = " 0.12.2 "
44description = " RedisGraph Bulk Import Tool"
55authors = [
" Redis Inc <[email protected] >" ]
66license = " BSD-3-Clause"
You can’t perform that action at this time.
0 commit comments