From d4c55c4334662565756b2a3901eacce74810268e Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 23 Oct 2023 12:00:18 +0200 Subject: [PATCH] added an eof delimiter --- .github/workflows/test_migration.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_migration.yml b/.github/workflows/test_migration.yml index 0f83b1d8..7a9ad926 100644 --- a/.github/workflows/test_migration.yml +++ b/.github/workflows/test_migration.yml @@ -49,7 +49,12 @@ jobs: - uses: ariga/setup-atlas@master - name: export diff the migrations id: diff_migrations - run: atlas schema diff --from "maria://root:super_secret_passw0rd@localhost:3306/campus_db" --to "maria://root:super_secret_passw0rd@localhost:3300/campus_db" --format '{{ sql . " " }}' >> $GITHUB_OUTPUT + run: | + export message=atlas schema diff --from "maria://root:super_secret_passw0rd@localhost:3306/campus_db" --to "maria://root:super_secret_passw0rd@localhost:3300/campus_db" --format '{{ sql . " " }}' && + EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) && + echo "text<<$EOF" >> $GITHUB_OUTPUT && + echo "$message" >> $GITHUB_OUTPUT && + echo "$EOF" >> $GITHUB_OUTPUT - name: Find Comment uses: peter-evans/find-comment@v2 id: fc