/.github/workflows: update set-output

This commit is contained in:
coffeegoddd
2024-04-15 13:17:15 -07:00
parent 56b5303cbc
commit 7e15a54d29
3 changed files with 11 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ jobs:
"github.com/dolthub/dolt/${{ env.BENCH_DIR }}/cmd" \
-test "$testspec" \
-out "$out"
echo "::set-output name=result_path::$out"
echo "result_path=$out" >> $GITHUB_OUTPUT
- name: Report
id: report
@@ -101,10 +101,10 @@ jobs:
dolt sql -r csv < "$query" > "$out"
cat "$out"
echo "::set-output name=report_path::$out"
echo "report_path=$out" >> $GITHUB_OUTPUT
avg=$(dolt sql -r csv < "$summaryq" | tail -1)
echo "::set-output name=avg::$avg"
echo "avg=$avg" >> $GITHUB_OUTPUT
- name: Format HTML
id: html
@@ -130,7 +130,7 @@ jobs:
echo "<table><tr><th>Average</th></tr><tr><td>$avg</tr></td></table>" >> "$out"
cat "$out"
echo "::set-output name=html::$(echo $out)"
echo "html=$(echo $out)" >> $GITHUB_OUTPUT
- name: Configure AWS Credentials
if: ${{ github.event.client_payload.email_recipient }} != ""

View File

@@ -131,10 +131,10 @@ jobs:
dolt sql -r csv -q "$query" > "$out"
cat "$out"
echo "::set-output name=report_path::$out"
echo "report_path=$out" >> $GITHUB_OUTPUT
avg=$(dolt sql -r csv -q "$summaryq" | tail -1)
echo "::set-output name=avg::$avg"
echo "avg=$avg" >> $GITHUB_OUTPUT
- name: Format Results
id: html
@@ -160,7 +160,7 @@ jobs:
echo "<table><tr><th>Average</th></tr><tr><td>$avg</tr></td></table>" >> "$out"
cat "$out"
echo "::set-output name=html::$(echo $out)"
echo "html=$(echo $out)" >> $GITHUB_OUTPUT
- name: Configure AWS Credentials
if: ${{ github.event.client_payload.email_recipient }} != ""

View File

@@ -59,7 +59,7 @@ jobs:
-config "$config" \
-script-dir "$scripts" \
-out "$out"
echo "::set-output name=result_path::$out"
echo "result_path=$out" >> $GITHUB_OUTPUT
- name: Report
id: report
@@ -102,10 +102,10 @@ jobs:
dolt sql -r csv < "$query" > "$out"
cat "$out"
echo "::set-output name=report_path::$out"
echo "report_path=$out" >> $GITHUB_OUTPUT
avg=$(dolt sql -r csv < "$summaryq" | tail -1)
echo "::set-output name=avg::$avg"
echo "avg=$avg" >> $GITHUB_OUTPUT
- name: Format Results
id: html
@@ -131,7 +131,7 @@ jobs:
echo "<table><tr><th>Average</th></tr><tr><td>$avg</tr></td></table>" >> "$out"
cat "$out"
echo "::set-output name=html::$(echo $out)"
echo "html=$(echo $out)" >> $GITHUB_OUTPUT
- name: Configure AWS Credentials
if: ${{ github.event.client_payload.email_recipient }} != ""