Skip to content

Commit

Permalink
fixing workflows 18
Browse files Browse the repository at this point in the history
  • Loading branch information
DraKen0009 committed Dec 6, 2024
1 parent 0219ed0 commit b220d60
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test-plugin-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,20 @@ jobs:

# Update the plug_config.py file with the required content
- name: Update plug_config.py
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: |
cat > ./plug_config.py << 'EOL'
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="@{{ github.head_ref || github.ref_name }}"
configs={},
name="camera",
package_name="git+https://github.com/ohcnetwork/care_camera_asset.git",
version="@${BRANCH_NAME}",
configs={},
)
plugs = [camera_plugin]
manager = PlugManager(plugs)
EOL
Expand Down

0 comments on commit b220d60

Please sign in to comment.