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

Revert "Remove caching to release process" #30

Merged
merged 1 commit into from
Nov 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Cache Dependencies
uses: actions/cache@v2
id: cache-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Install Dependencies if cache doesn't hit
if: steps.cache-dependencies.cache-hit != 'true'
run: poetry install

- name: Publish to PyPI
run:
poetry config http-basic.pypi ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_PASSWORD }};
Expand Down