Skip to content

Commit 33a139d

Browse files
authored
Update ci.yml
1 parent 4012447 commit 33a139d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,12 @@ jobs:
119119
with:
120120
limit-access-to-actor: true
121121
- uses: ./
122+
id: composit
122123
with:
123124
version: ${{ fromJSON(github.event.inputs.versions)[0] }}
124125
cache: false
125126
- name: Setup tmate session
126-
if: failure() || ${{ contains(github.event.inputs.extra_tests, 'tmate-after') }}
127+
if: steps.composite.outcome != 'success' || failure() || ${{ contains(github.event.inputs.extra_tests, 'tmate-after') }}
127128
uses: mxschmitt/[email protected]
128129
with:
129130
limit-access-to-actor: true
@@ -147,3 +148,8 @@ jobs:
147148
cmake -B tests/build -S tests -DCMAKE_BUILD_TYPE=Release -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=.
148149
cmake --build tests/build --config release
149150
./tests/build/test_vulkan
151+
- name: Setup tmate session on failure
152+
if: failure()
153+
uses: mxschmitt/[email protected]
154+
with:
155+
limit-access-to-actor: true

0 commit comments

Comments
 (0)