File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 85
85
run : docker run --rm --privileged multiarch/qemu-user-static:register --reset
86
86
- name : Run ${{ matrix.tfm }} tests
87
87
run : |
88
+ pre_chown_command="chown -R root /app"
88
89
test_command="dotnet test LibGit2Sharp.sln --configuration Release -p:TargetFrameworks=${{ matrix.tfm }} --logger "GitHubActions" -p:ExtraDefine=LEAKS_IDENTIFYING"
89
- docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/app" gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$test_command"
90
+ post_chown_command="chown -R $UID /app"
91
+ docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/app" gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$pre_chown_command && $test_command && post_chown_command"
92
+
You can’t perform that action at this time.
0 commit comments