Skip to content

Commit 587d875

Browse files
committed
test: set summary-output-file to work around the empty-path error
1 parent e7369fb commit 587d875

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎.github/workflows/v3-e2e.yml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
env:
4343
GITHUB_TOKEN: ${{ github.token }}
4444
with:
45+
# Workaround: rc.25 rejects the empty value the action passes when unset.
46+
summary-output-file: cpp-linter-summary-${{ github.job }}.md
4547
style: file
4648
files-changed-only: false
4749
ignore: build
@@ -56,6 +58,8 @@ jobs:
5658
env:
5759
GITHUB_TOKEN: ${{ github.token }}
5860
with:
61+
# Workaround: rc.25 rejects the empty value the action passes when unset.
62+
summary-output-file: cpp-linter-summary-${{ github.job }}.md
5963
style: file
6064
files-changed-only: false
6165
ignore: build
@@ -97,6 +101,8 @@ jobs:
97101
env:
98102
GITHUB_TOKEN: ${{ github.token }}
99103
with:
104+
# Workaround: rc.25 rejects the empty value the action passes when unset.
105+
summary-output-file: cpp-linter-summary-${{ github.job }}.md
100106
style: file
101107
lines-changed-only: true
102108
ignore: build
@@ -123,17 +129,18 @@ jobs:
123129
env:
124130
GITHUB_TOKEN: ${{ github.token }}
125131
with:
132+
# Workaround: rc.25 rejects the empty value the action passes when unset.
133+
summary-output-file: cpp-linter-summary-${{ github.job }}.md
126134
style: file
127135
lines-changed-only: true
128136
ignore: build
129137
database: build
130138
pr-review: true
131139
thread-comments: update
132140
step-summary: true
133-
summary-output-file: cpp-linter-summary.md
134141
extra-args: -std=c++14 -Wall
135142
- name: Summary output file
136-
run: test -s cpp-linter-summary.md && head -20 cpp-linter-summary.md
143+
run: test -s cpp-linter-summary-pr-review.md && head -20 cpp-linter-summary-pr-review.md
137144
- run: echo "pr-review done at $(date -u +%FT%TZ), checks-failed=${{ steps.linter.outputs.checks-failed }}" | tee -a "$GITHUB_STEP_SUMMARY"
138145

139146
# Runs after the review jobs so a pushed fix cannot move their diff mid-run.
@@ -151,6 +158,8 @@ jobs:
151158
env:
152159
GITHUB_TOKEN: ${{ github.token }}
153160
with:
161+
# Workaround: rc.25 rejects the empty value the action passes when unset.
162+
summary-output-file: cpp-linter-summary-${{ github.job }}.md
154163
style: file
155164
lines-changed-only: true
156165
ignore: build

0 commit comments

Comments
 (0)