Skip to content

Commit c3d2e0b

Browse files
committed
...
1 parent 8623d32 commit c3d2e0b

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/test-docs-compilation.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,20 @@ jobs:
3333
docs-repo-token: ${{ secrets.DOC_GITHUB_PAT_CROSS_ORG }}
3434
docs-repo: '@ske-csharp-client'
3535

36-
- name: Verify dotnet
37-
if: always()
36+
- name: Confusion
3837
shell: bash
3938
run: |
4039
set -x
41-
which dotnet
42-
dotnet --version
43-
dotnet --list-sdks
44-
eval 'which dotnet'
45-
eval 'dotnet --list-sdks'
40+
dotnet --info
4641
4742
- name: Label PR on failure
4843
uses: actions-ecosystem/action-add-labels@v1
49-
if: steps.compile_step.outcome == 'failure' && github.event.pull_request
44+
if: steps.compile_step.outputs.failed_tests == 'true' && github.event.pull_request
5045
with:
5146
labels: 'Breaks Docs Compilation Tests'
5247

5348
- name: Remove label on success
5449
uses: actions-ecosystem/action-remove-labels@v1
55-
if: steps.compile_step.outcome != 'failure' && github.event.pull_request
50+
if: steps.compile_step.outputs.failed_tests == 'false' && github.event.pull_request
5651
with:
5752
labels: 'Breaks Docs Compilation Tests'

0 commit comments

Comments
 (0)