Skip to content

Commit f4659e7

Browse files
committed
chore: outputs
1 parent 7d822c4 commit f4659e7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/comment-diffs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,17 @@ jobs:
220220
echo "DIFF_IS_NON_EMPTY=0" >> $GITHUB_OUTPUT
221221
fi
222222

223+
# Remove outputs if it exists
224+
rm -rf ./outputs || true
225+
226+
# Copy the outputs to cwd
227+
cp -r $output_path ./outputs
228+
223229
- uses: actions/upload-artifact@v3
224230
if: ${{ steps.create-diffs.outputs.DIFF_IS_NON_EMPTY == '1' }}
225231
with:
226232
name: outputs
227-
path: ../outputs/*.txt
233+
path: outputs/*.txt
228234

229235
read-artifacts-and-comment:
230236
name: Read the artifacts and comment

0 commit comments

Comments
 (0)