|
13 | 13 | test-(@= name @):
|
14 | 14 | name: Test (@= name @)
|
15 | 15 | needs: #@ needs
|
16 |
| - runs-on: ubuntu-20.04 |
| 16 | + runs-on: ubuntu-latest |
17 | 17 | strategy:
|
18 | 18 | fail-fast: false
|
19 | 19 | matrix:
|
|
39 | 39 | key: ${{ runner.os }}-make-cache-${{ needs.xref.outputs.hash }}
|
40 | 40 | fail-on-cache-miss: true
|
41 | 41 | - name: RESTORE TEST RESULT CACHE
|
42 |
| - uses: actions/cache@v4 |
| 42 | + uses: actions/cache/restore@v4 |
43 | 43 | with:
|
44 | 44 | path: /home/runner/test-result-cache/
|
45 | 45 | key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}-${{ github.run_attempt }}
|
46 | 46 | restore-keys: |
|
47 | 47 | ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}-${{ needs.xref.outputs.previous_run_attempt }}
|
48 | 48 | ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}-
|
49 | 49 | ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-
|
50 |
| - save-always: true |
51 | 50 | - name: PRINT CACHED RESULTS
|
52 | 51 | run: |
|
53 | 52 | set -x
|
|
99 | 98 | touch ${{ env.SUCCESS_PATH }}/ct-(@= suite @)
|
100 | 99 | fi
|
101 | 100 | #@ end
|
| 101 | + - name: SAVE TEST RESULT CACHE |
| 102 | + uses: actions/cache/save@v4 |
| 103 | + with: |
| 104 | + path: /home/runner/test-result-cache/ |
| 105 | + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}-${{ github.run_attempt }} |
102 | 106 | - name: UPLOAD TEST ARTIFACTS
|
103 | 107 | if: always()
|
104 | 108 |
|
|
111 | 115 | test-rabbitmq_cli:
|
112 | 116 | name: Test rabbitmq_cli
|
113 | 117 | needs: #@ needs
|
114 |
| - runs-on: ubuntu-20.04 |
| 118 | + runs-on: ubuntu-latest |
115 | 119 | strategy:
|
116 | 120 | fail-fast: false
|
117 | 121 | matrix:
|
|
131 | 135 | key: ${{ runner.os }}-make-cache-${{ needs.xref.outputs.hash }}
|
132 | 136 | fail-on-cache-miss: true
|
133 | 137 | - name: RESTORE TEST RESULT CACHE
|
134 |
| - uses: actions/cache@v4 |
| 138 | + uses: actions/cache/restore@v4 |
135 | 139 | with:
|
136 | 140 | path: /home/runner/test-result-cache/
|
137 | 141 | key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ github.run_attempt }}
|
138 | 142 | restore-keys: |
|
139 | 143 | ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ needs.xref.outputs.previous_run_attempt }}
|
140 | 144 | ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-
|
141 | 145 | ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-
|
142 |
| - save-always: true |
143 | 146 | - name: PRINT CACHED RESULTS
|
144 | 147 | run: |
|
145 | 148 | set -x
|
|
164 | 167 | RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }}
|
165 | 168 | touch ${{ env.SUCCESS_PATH }}/checks
|
166 | 169 | fi
|
| 170 | + - name: SAVE TEST RESULT CACHE |
| 171 | + uses: actions/cache/save@v4 |
| 172 | + with: |
| 173 | + path: /home/runner/test-result-cache/ |
| 174 | + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ github.run_attempt }} |
167 | 175 | - name: UPLOAD TEST ARTIFACTS
|
168 | 176 | if: always()
|
169 | 177 |
|
|
0 commit comments