Skip to content

Commit

Permalink
feat: add use environment variable in examples github workflow (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh-dixit authored Sep 9, 2024
1 parent bd1eb53 commit 7eceee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
JULEP_API_KEY: ${{secrets.JULEP_API_KEY}}
JULEP_API_URL: ${{secrets.JULEP_API_URL}}
COMPOSIO_API_KEY: ${{ inputs.api_key || secrets.COMPOSIO_API_KEY_RELEASE }}
COMPOSIO_BASE_URL: ${{ inputs.base_url || secrets.COMPOSIO_BASE_URL }}
COMPOSIO_BASE_URL: ${{ inputs.base_url || secrets.COMPOSIO_BASE_URL || 'https://backend.composio.dev/api' }}
run: |
sudo apt-get update --fix-missing
sudo apt-get autoremove
Expand All @@ -77,7 +77,7 @@ jobs:
composio apps update
CI=false COMPOSIO_BASE_URL=https://backend.composio.dev/api PLUGIN_TO_TEST=${{matrix.package}} pytest -vv tests/test_example.py
CI=false COMPOSIO_BASE_URL=${{ env.COMPOSIO_BASE_URL }} PLUGIN_TO_TEST=${{matrix.package}} pytest -vv tests/test_example.py
- name: Slack Notification on Failure
if: ${{ failure() && !contains(github.event.pull_request.title, 'release') && !contains(github.event.pull_request.title, 'Release') }}
uses: rtCamp/action-slack-notify@v2
Expand Down

0 comments on commit 7eceee0

Please sign in to comment.