Skip to content

Commit

Permalink
test go-get.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chiukapoor authored Oct 15, 2024
1 parent b87e8fc commit dda1f1c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/go-get.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ jobs:
go version
make go-get
git status
# - name: Check for repository changes
# run: |
# if git diff --name-only --exit-code; then
# echo "No changes found in repository after 'go get'"
# echo "changes_exist=false" >> $GITHUB_ENV
# else
# echo "Changes found in repository after 'go get':"
# git diff --name-only
# echo "changes_exist=true" >> $GITHUB_ENV
# fi
- name: Check for repository changes
run: |
if git diff --name-only --exit-code; then
echo "No changes found in repository after 'go get'"
echo "changes_exist=false" >> $GITHUB_ENV
else
echo "Changes found in repository after 'go get':"
git diff --name-only
echo "changes_exist=true" >> $GITHUB_ENV
fi
# - name: Create branch, commit and push
# if: ${{ env.changes_exist == 'true' }}
# id: branch
Expand Down

0 comments on commit dda1f1c

Please sign in to comment.