Skip to content

Commit 5920c63

Browse files
committed
Distinguish CI job artifacts/caches by container
1 parent d6c7949 commit 5920c63

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/backend-template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
with:
8686
path: |
8787
~/ccache_${{ inputs.container_name }}
88-
key: ${{ runner.os }}-build-${{ inputs.backend_name }}-${{ github.sha }}
88+
key: Backends_${{ inputs.backend_name }}_${{ inputs.container_name }}_${{ github.sha }}
8989
restore-keys: |
90-
${{ runner.os }}-build-${{ inputs.backend_name }}-
90+
Backends_${{ inputs.backend_name }}_${{ inputs.container_name }}
9191
9292
- name: Checkout OpenMM (for Lepton library)
9393
uses: actions/checkout@v4
@@ -180,7 +180,7 @@ jobs:
180180
if: ${{ failure() }}
181181
uses: actions/upload-artifact@v4
182182
with:
183-
name: failed-library-test-output-${{ inputs.backend_name }}-${{ inputs.backend_repo_ref }}
183+
name: failed_library_test_output_${{ inputs.backend_name }}_${{ inputs.backend_repo_ref }}_${{ inputs.container_name }}
184184
path: |
185185
${{ github.workspace }}/${{ inputs.test_lib_directory }}/*/*.diff
186186
${{ github.workspace }}/${{ inputs.test_lib_directory }}/*/*.err
@@ -201,7 +201,7 @@ jobs:
201201
if: ${{ failure() }}
202202
uses: actions/upload-artifact@v4
203203
with:
204-
name: failed-interface-test-output-${{ inputs.backend_name }}
204+
name: failed_library_test_output_${{ inputs.backend_name }}_${{ inputs.backend_repo_ref }}_${{ inputs.container_name }}
205205
path: |
206206
${{ github.workspace }}/${{ inputs.test_interface_directory }}/*/*.diff
207207
${{ github.workspace }}/${{ inputs.test_interface_directory }}/*/*.err

0 commit comments

Comments
 (0)