File tree 2 files changed +12
-23
lines changed
2 files changed +12
-23
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish Pypi
2
+
2
3
on :
4
+ workflow_dispatch :
3
5
release :
4
6
types : [ published ]
5
7
10
12
env :
11
13
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
12
14
steps :
13
- - uses : actions/checkout@master
15
+ - uses : actions/checkout@v3
14
16
15
17
- name : get version from tag
16
18
id : get_version
@@ -26,31 +28,18 @@ jobs:
26
28
key : " tool.poetry.version"
27
29
value : " ${{ steps.get_version.outputs.VERSION }}"
28
30
29
- - name : Set up Python 3.9
30
- uses : actions/setup-python@v3
31
+ - name : Set up Python
32
+ uses : actions/setup-python@v4
31
33
with :
32
34
python-version : 3.9
33
35
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
47
37
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
54
43
55
44
- name : Publish to PyPI
56
45
if : github.event_name == 'release'
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " redisgraph-bulk-loader"
3
- version = " 0.12.1 "
3
+ version = " 0.12.2 "
4
4
description = " RedisGraph Bulk Import Tool"
5
5
authors = [
" Redis Inc <[email protected] >" ]
6
6
license = " BSD-3-Clause"
You can’t perform that action at this time.
0 commit comments