Skip to content

Commit 2d0f98d

Browse files
committed
[autoSync] CI: improve validate check
1 parent a64ea6c commit 2d0f98d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/weekly_e2e.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
modules=$(curl -sL "https://terraform-fc-test-for-example-module.oss-ap-southeast-1.aliyuncs.com/testRecordReleased.json")
4141
if echo "$modules" | jq --arg key "$REPO_NAME" -re 'has($key)' | grep -q true; then
4242
echo "The key exists at the JSON object."
43-
echo "::set-output name=output_value::1"
43+
echo "::set-output name=output_value::0"
4444
else
4545
echo "The key does not exist at the JSON object."
46-
echo "::set-output name=output_value::0"
46+
echo "::set-output name=output_value::1"
4747
fi
4848
- name: update test record
4949
if: steps.whether-to-upload-test-record.outputs.output_value == 1

0 commit comments

Comments
 (0)