From 710403a52d9357e0d2b73fe23d4bfcdf9b5e730a Mon Sep 17 00:00:00 2001 From: Prafful Date: Fri, 6 Dec 2024 20:24:20 +0530 Subject: [PATCH] fixing workflows 12 --- .github/workflows/test-plugin-integration.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-plugin-integration.yml b/.github/workflows/test-plugin-integration.yml index 5a647d5..e6ccdab 100644 --- a/.github/workflows/test-plugin-integration.yml +++ b/.github/workflows/test-plugin-integration.yml @@ -18,15 +18,16 @@ jobs: # Update the plug_config.py file with the required content - name: Update plug_config.py + env: + BRANCH_NAME: ${{ github.ref_name }} run: | - branch_name=${GITHUB_REF_NAME} cat > ./plug_config.py << 'EOL' from plugs.manager import PlugManager from plugs.plug import Plug camera_plugin = Plug( name="camera", package_name="git+https://github.com/ohcnetwork/care_camera_asset.git", - version="@${branch_name}", + version="@${BRANCH_NAME}", configs={}, ) plugs = [camera_plugin]