Skip to content

Commit

Permalink
fixup! Fix multiline output in GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
krystof-k committed Mar 10, 2024
1 parent 3615c2e commit 25c86ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
echo "diff<<EOF"
git diff
echo "EOF"
} >> "$GITHUB_ENV"
} >> "$GITHUB_OUTPUT"
- name: Print check-for-changes
run: echo "${{ steps.check-for-changes.outputs.diff }}"
check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
echo "diff<<EOF"
git diff
echo "EOF"
} >> "$GITHUB_ENV"
} >> "$GITHUB_OUTPUT"
- if: ${{ steps.check-for-changes.outputs.diff != '' }}
name: Configure Git
run: |
Expand Down

0 comments on commit 25c86ac

Please sign in to comment.