Skip to content

Commit 5d30a84

Browse files
committed
Fix,Dev,CI:Release stage error
1 parent bc7977c commit 5d30a84

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,23 @@ jobs:
9090
- uses: actions/setup-python@v1
9191
with:
9292
python-version: 3.7
93+
- name: Cache PIP
94+
uses: actions/cache@v1
95+
with:
96+
path: ~/.cache/pip
97+
key: ${{ runner.os }}-pip-3.7-${{ hashFiles('**/poetry.lock') }}
98+
restore-keys: |
99+
${{ runner.os }}-pip-3.7-
100+
${{ runner.os }}-pip-
101+
- name: Cache Poetry Virtualenvs
102+
uses: actions/cache@v1
103+
with:
104+
path: ~/.cache/pypoetry/virtualenvs
105+
key: ${{ runner.os }}-poetry-3.7-${{ hashFiles('**/poetry.lock') }}
93106
- name: Build release
94107
run: |
95108
python -m pip install --upgrade pip poetry
109+
make POETRY_EXTRAS= init_by_poetry
96110
make build
97111
- name: Upload release
98112
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)