Skip to content

Commit

Permalink
strange workflow errors on linux fix1
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaTegner committed Oct 21, 2022
1 parent da14752 commit cae6796
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ jobs:
pip3 install poetry
poetry config virtualenvs.in-project true
- name: Set up cache
if: runner.os != 'Linux'
uses: actions/cache@v3
id: cached-poetry-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' || runner.os == 'Linux'
- name: Install as a local gh extension
run: gh extension install .
- name: run tests
Expand All @@ -67,13 +68,15 @@ jobs:
pip3 install poetry
poetry config virtualenvs.in-project true
- name: Set up cache
if: runner.os != 'Linux'
uses: actions/cache@v3
id: cached-poetry-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' || runner.os == 'Linux'
- name: Build distributions
run: poetry build -vv
- name: Upload artifacts
Expand Down

0 comments on commit cae6796

Please sign in to comment.