Skip to content

Commit

Permalink
rectify the error
Browse files Browse the repository at this point in the history
remove additional run command.
  • Loading branch information
devarsh10 authored Dec 24, 2024
1 parent 4f67b6f commit ec2c417
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ jobs:
- name: Check Outdated Packages
id: outdated-packages
run: |
npm outdated > outdated_packages.txt || echo "No outdated packages found" > outdated_packages.txt
npm outdated > outdated_packages.txt || echo "No outdated packages found" > outdated_packages.txt.
echo "outdated_packages=$OUTPUT" >> $GITHUB_ENV
# Save the result as an output variable
shell: bash
env:
OUTPUT_FILE: outdated_packages.txt
run: |
echo "outdated_packages=$(cat $OUTPUT_FILE)" >> $GITHUB_ENV

# Notify Slack with outdated packages
- name: Notify Slack - Outdated Packages
uses: act10ns/slack@v2
Expand Down

0 comments on commit ec2c417

Please sign in to comment.