From bc9fc6a37f09a6f67745667f91ec8452dfe98390 Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko Date: Wed, 14 Oct 2026 13:41:23 +0300 Subject: [PATCH] Update GH action --- .github/workflows/run-smoke-test.yml | 4 ++++ setup.sh | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-smoke-test.yml b/.github/workflows/run-smoke-test.yml index 9b0e3c5..20549b6 100755 --- a/.github/workflows/run-smoke-test.yml +++ b/.github/workflows/run-smoke-test.yml @@ -22,9 +22,13 @@ jobs: dotnet build src/Regula.DocumentReader.NetCoreExamplePortraitComparison -c Release - name: Run basic sample + env: + API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-api.regulaforensics.com' || github.base_ref == 'stable' && 'https://rc-api.regulaforensics.com' || github.base_ref == 'master' && 'https://api.regulaforensics.com' || 'https://nightly-api.regulaforensics.com' }} run: ./Regula.DocumentReader.NetCoreExample working-directory: src/Regula.DocumentReader.NetCoreExample/bin/Release/net8.0/ - name: Run Portrait comparison + env: + API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-api.regulaforensics.com' || github.base_ref == 'stable' && 'https://rc-api.regulaforensics.com' || github.base_ref == 'master' && 'https://api.regulaforensics.com' || 'https://nightly-api.regulaforensics.com' }} run: ./Regula.DocumentReader.NetCoreExamplePortraitComparison working-directory: src/Regula.DocumentReader.NetCoreExamplePortraitComparison/bin/Release/net8.0/ diff --git a/setup.sh b/setup.sh index cdb8f17..455951e 100755 --- a/setup.sh +++ b/setup.sh @@ -2,6 +2,4 @@ dotnet build ./src/Regula.DocumentReader.NetCoreExample -c Release cd ./src/Regula.DocumentReader.NetCoreExample || exit -export API_BASE_PATH="https://nightly-api.regulaforensics.com" - dotnet run