Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jun 12, 2024
1 parent e083987 commit f26e830
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,24 @@ jobs:
with:
fetch-depth: 2
- name: Get changes
run: git diff --name-only -r HEAD^1 HEAD
id: get_changes
run: |
echo "changed_files<<EOF" >> $GITHUB_OUTPUT
git diff --name-only -r HEAD^1 HEAD >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Use changed files
run: |
changed_files="${{ steps.get_changes.outputs.changed_files }}"
echo "Changed files: $changed_files"
# Perform further actions based on the changed files
# - name: Get changes
# run: git diff --name-only -r HEAD^1 HEAD




# - name: Git diff
# run: git diff --name-only -r HEAD^1 HEAD
# - name: Log changed files
Expand Down

0 comments on commit f26e830

Please sign in to comment.