We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7730a50 commit 527450fCopy full SHA for 527450f
.github/workflows/configlet-sync.yml
@@ -32,11 +32,12 @@ jobs:
32
- name: Run configlet sync for test and capture output
33
id: sync_test
34
run: |
35
- ./bin/configlet sync --tests | tee .github/auto-sync/sync-test-output.txt
+ mkdir -p .github/auto-sync
36
+ output="$(./bin/configlet sync --tests | tee .github/auto-sync/sync-test-output.txt)"
37
echo "output<<EOF" >> $GITHUB_OUTPUT
- cat .github/auto-sync/sync-test-output.txt >> $GITHUB_OUTPUT
38
+ echo "$output" >> $GITHUB_OUTPUT
39
echo "EOF" >> $GITHUB_OUTPUT
-
40
+
41
- name: Create issue if tests are not synced
42
if: ${{ !contains(steps.sync_test.outputs.output, 'Every exercise has up-to-date tests!') }}
43
uses: peter-evans/create-issue-from-file@v4
0 commit comments