Skip to content

Commit

Permalink
Fix cache key creation from inputs array
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <anton@fedurtsya.com>
  • Loading branch information
Sieg committed Oct 8, 2023
1 parent e047119 commit 1b88cf6
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,6 @@ jobs:
install_shop_with_module:
runs-on: ubuntu-latest
steps:
- name: Print run parameters
run: |
echo "Running job with:\
PHP version: ${{ inputs.php }}\
MySQL version: ${{ inputs.mysql }}\
Template engine: ${{ inputs.template_engine }}\
Tests group: ${{ inputs.module_codecept_test_group }}\
Trigger event: ${{ github.event_name }}"
- name: Clone testing environment
run: git clone https://github.com/OXID-eSales/docker-eshop-sdk.git .

Expand All @@ -87,7 +78,7 @@ jobs:
with:
path: |
./*
key: installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
key: installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}

- name: Prepare container configuration
run: |
Expand Down Expand Up @@ -176,9 +167,9 @@ jobs:
with:
path: |
./*
key: installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
key: installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
restore-keys: |
installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
- name: Start containers
run: |
Expand Down Expand Up @@ -237,9 +228,9 @@ jobs:
with:
path: |
./*
key: installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
key: installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
restore-keys: |
installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
- name: Start containers
run: |
Expand Down Expand Up @@ -282,9 +273,9 @@ jobs:
with:
path: |
./*
key: installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
key: installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
restore-keys: |
installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
- name: Start containers
run: |
Expand Down Expand Up @@ -327,9 +318,9 @@ jobs:
with:
path: |
./*
key: installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
key: installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
restore-keys: |
installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
- name: Start containers
run: |
Expand Down Expand Up @@ -383,9 +374,9 @@ jobs:
with:
path: |
./*
key: installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
key: installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
restore-keys: |
installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
- name: Reconfigure codeception for smarty themes
run: |
Expand Down Expand Up @@ -452,9 +443,9 @@ jobs:
with:
path: |
./*
key: installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
key: installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
restore-keys: |
installation-${{ join(inputs, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
installation-${{ join(inputs.*, '-') }}-${{ github.run_number }}-${{ github.run_attempt }}
- name: Download unit artifacts
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 1b88cf6

Please sign in to comment.