Skip to content

Commit

Permalink
Merge pull request #436 from ExpediaGroup/add-missing-input
Browse files Browse the repository at this point in the history
fix: forgot to add new input to action.yml
  • Loading branch information
jaydee864 authored Aug 29, 2023
2 parents c10fad6 + 8fd1d82 commit f5e2acc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ jobs:
- name: Check for diff
id: diff
run: |
git status -s dist/ | grep "dist/"
echo "GIT_STATUS=$?" >> "$GITHUB_OUTPUT"
if git status -s dist/ | grep "dist/"; then
echo "SHOULD_PUSH_BUILD=true" >> "$GITHUB_OUTPUT"
else
echo "SHOULD_PUSH_BUILD=false" >> "$GITHUB_OUTPUT"
fi
- name: Push build
if: ${{ steps.diff.outputs.GIT_STATUS == '0' }}
if: ${{ steps.diff.outputs.SHOULD_PUSH_BUILD == 'true' }}
run: |
git config user.name github-actions
git config user.email [email protected]
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ inputs:
description: AWS Region
required: false
default: us-west-2
github_token:
description: Repo token for fetching commit details
required: false
runs:
using: "node16"
main: "dist/index.js"

0 comments on commit f5e2acc

Please sign in to comment.