Skip to content

Commit

Permalink
try to fix changes output
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kononenko committed Oct 28, 2024
1 parent d61bb46 commit c320e63
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/generate-tidal-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ jobs:
run: |
cd ./Sources/TidalAPI/
changes="$(git status -s Generated)"
echo "changes=$changes" >> "$GITHUB_OUTPUT"
[ -n "$changes" ] && echo "changes_detected=true" >> "$GITHUB_OUTPUT" || echo "changes_detected=false" >> "$GITHUB_OUTPUT"
echo "changes=$changes"
[ -n "$changes" ] && echo "changes_detected=true" || echo "changes_detected=false"
{
"changes=$changes"
"changes_detected=$changes_detected"
} >> $GITHUB_OUTPUT
- name: No Changes Found - Say Goodbye
if: ${{ steps.check_for_changes.outputs.changes_detected == 'false' }}
Expand Down

0 comments on commit c320e63

Please sign in to comment.