File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 9090 - name : Store repository status
9191 id : status-before
9292 run : |
93- echo "::set-output name=BEFORE::$(git status --porcelain -b)"
93+ git_status=$(git status --porcelain -b)
94+ echo "BEFORE=$git_status" >> $GITHUB_ENV
95+ echo "Repository status before tests: $git_status"
9496 - name : Show installed dependencies
9597 run : python -m pip list
9698 - name : Run tests on Ubuntu
@@ -108,7 +110,7 @@ jobs:
108110 - name : Check for files left behind by test
109111 if : matrix.os != 'windows-latest' && always()
110112 run : |
111- before="${{ steps.status-before.outputs .BEFORE }}"
113+ before="${{ env .BEFORE }}"
112114 after="$(git status --porcelain -b)"
113115 if [[ "$before" != "$after" ]]; then
114116 echo "git status from before: $before"
You can’t perform that action at this time.
0 commit comments