Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jagapiou authored Sep 11, 2024
1 parent 761b1e9 commit 1104ac5
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/actions/install-concordia/action.yml
Original file line number Diff line number Diff line change
@@ -54,14 +54,7 @@ runs:
install-concordia-${{ steps.os-info.outputs.name }}-${{ steps.os-info.outputs.version }}-py${{ steps.setup-python.outputs.python-version }}-
- name: Create or activate venv
shell: bash
run: |
echo include-examples='${{ inputs.include-examples }}'
echo restore-examples='${{ steps.restore-examples.outputs.cache-hit }}'
echo restore-concordia='${{ steps.restore-concordia.outputs.cache-hit }}'
- name: Create or activate venv
if: steps.restore-examples.outputs.cache-hit != 'true' || steps.restore-concordia.outputs.cache-hit != 'true'
if: inputs.include-examples == 'true' && steps.restore-examples.outputs.cache-hit != 'true' || inputs.include-examples != 'true' && steps.restore-concordia.outputs.cache-hit != 'true'
shell: bash
run: |
python -m venv venv
@@ -70,7 +63,8 @@ runs:
- name: Install Concordia
if: steps.restore-examples.outputs.cache-hit != 'true' && steps.restore-concordia.outputs.cache-hit != 'true'
shell: bash
run: pip install --editable .[dev]
run: |
pip install --editable .[dev]
- name: Save Concordia installation
if: steps.restore-examples.outputs.cache-hit != 'true' && steps.restore-concordia.outputs.cache-hit != 'true'

0 comments on commit 1104ac5

Please sign in to comment.