Skip to content

Commit 6cbcf91

Browse files
committed
Updating sync test
1 parent f8dc41e commit 6cbcf91

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/configlet-sync.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ jobs:
2929
branch: configlet-auto-sync
3030
delete-branch: true
3131

32-
- name: Run configlet sync for tests
32+
- name: Run configlet sync for test and capture output
3333
id: sync_test
3434
run: |
35+
mkdir -p .github/auto-sync
36+
output="$(./bin/configlet sync --tests | tee .github/auto-sync/sync-test-output.txt)"
3537
echo "output<<EOF" >> $GITHUB_OUTPUT
36-
./bin/configlet sync --tests >> $GITHUB_OUTPUT
38+
echo "$output" >> $GITHUB_OUTPUT
3739
echo "EOF" >> $GITHUB_OUTPUT
3840
3941
- name: Create issue if tests are not synced

0 commit comments

Comments
 (0)