Skip to content

Commit 9bcaa07

Browse files
authored
Merge pull request #5690 from LibreSign/fix/define-return-of-job
fix: define return of job
2 parents ae2f896 + eba77da commit 9bcaa07

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/phpunit-sqlite.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ jobs:
202202
echo 'Neither PHPUnit nor PHPUnit integration tests are specified in composer.json scripts'
203203
exit 1
204204
205+
- name: Set xdebug_mode output
206+
id: set-xdebug-mode
207+
run: echo "xdebug_mode=${{ matrix.xdebug_mode }}" >> $GITHUB_OUTPUT
208+
205209
summary:
206210
permissions:
207211
contents: none
@@ -217,7 +221,7 @@ jobs:
217221
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-sqlite.result != 'success' }}; then exit 1; fi
218222

219223
finish-coverage:
220-
if: ${{ matrix.xdebug_mode == 'coverage' }}
224+
if: ${{ needs.phpunit-sqlite.outputs.xdebug_mode == 'coverage' }}
221225
needs: phpunit-sqlite
222226
runs-on: ubuntu-latest
223227
steps:

0 commit comments

Comments
 (0)