From 44b31a283f19d2e1726f0c863326fa30e705d82c Mon Sep 17 00:00:00 2001 From: TiejunZhou <50469179+TiejunMS@users.noreply.github.com> Date: Thu, 23 Nov 2023 03:02:06 +0000 Subject: [PATCH] Fix cmake path and add deploy url affix --- .github/workflows/regression_template.yml | 6 +++++- .github/workflows/regression_test.yml | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regression_template.yml b/.github/workflows/regression_template.yml index 5e7f89ab..3ef1d263 100644 --- a/.github/workflows/regression_template.yml +++ b/.github/workflows/regression_template.yml @@ -21,6 +21,10 @@ on: default: './test/cmake' required: false type: string + deploy_url_affix: + default: '' + required: false + type: string # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -112,7 +116,7 @@ jobs: needs: run_tests environment: name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + url: ${{ steps.deployment.outputs.page_url }}${{ inputs.deploy_url_affix }} permissions: pages: write id-token: write diff --git a/.github/workflows/regression_test.yml b/.github/workflows/regression_test.yml index 861e72c8..855da992 100644 --- a/.github/workflows/regression_test.yml +++ b/.github/workflows/regression_test.yml @@ -16,4 +16,5 @@ jobs: with: build_script: ./scripts/build_tx.sh test_script: ./scripts/test_tx.sh - cmake_path: ./test/tx \ No newline at end of file + cmake_path: ./test/tx/cmake + deploy_url_affix: tx/ \ No newline at end of file