Skip to content

Commit

Permalink
Update development.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thejcpalma committed Mar 4, 2024
1 parent 2869d6b commit 2b24049
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,19 @@ jobs:
run: |
if grep -q "readme-dev-blue" README.md; then
echo "The shield tag is already set to 'dev'. No update needed."
echo "{update_required}={false}" >> $GITHUB_OUTPUT
echo "{update_required}={false}" >> "$GITHUB_OUTPUT"
else
echo "The shield tag is not set to 'dev'. Proceeding with the update."
echo "{update_required}={true}" >> $GITHUB_OUTPUT
echo "{update_required}={true}" >> "$GITHUB_OUTPUT"
fi
shell: bash

- name: Update Required?
env:
UPDATE_REQUIRED: ${{ steps.check_shield_tag.outputs.update_required }}
run: |
echo "Update requires $UPDATE_REQUIRED is '${{ steps.check_shield_tag.outputs.update_required }}'"
# Defines the readme version to the dev tag
- name: Update README.md
if: steps.check_shield_tag.outputs.update_required == 'true'
Expand Down

0 comments on commit 2b24049

Please sign in to comment.