Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 3f08752

Browse files
authored
Merge pull request #30 from code-yeongyu/revert-29-feature/no-cache-release
Revert "Remove caching to release process"
2 parents 0ce18a1 + edd82fc commit 3f08752

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ jobs:
1919
virtualenvs-create: true
2020
virtualenvs-in-project: true
2121

22+
- name: Cache Dependencies
23+
uses: actions/cache@v2
24+
id: cache-dependencies
25+
with:
26+
path: .venv
27+
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
28+
29+
- name: Install Dependencies if cache doesn't hit
30+
if: steps.cache-dependencies.cache-hit != 'true'
31+
run: poetry install
32+
2233
- name: Publish to PyPI
2334
run:
2435
poetry config http-basic.pypi ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_PASSWORD }};

0 commit comments

Comments
 (0)