Skip to content

Commit

Permalink
set outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jun 12, 2024
1 parent 8d3b581 commit 5817421
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ env:
jobs:
get-changed-files:
runs-on: ubuntu-latest
outputs:
changed_files: ${{ steps.get_changes.outputs.changed_files }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -39,9 +41,13 @@ jobs:
echo "EOF" >> $GITHUB_OUTPUT
- name: Echo changed files
run: echo "${{ steps.get_changes.outputs.changed_files }}"
if: ${{ contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-cohere') || contains(needs.get-changed-files.outputs.changed_files, 'langchain-core') }}
- name: Great success
run: echo "Great success"

another-job:
needs: get-changed-files
runs-on: ubuntu-latest
steps:
- name: Use changed files
run: echo "${{ needs.get-changed-files.outputs.changed_files }}"

# cohere-lowest-deps:
# needs: get-changed-files
Expand Down

0 comments on commit 5817421

Please sign in to comment.