Skip to content

Commit

Permalink
list files for update index
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Dec 16, 2022
1 parent dcc0565 commit cdb78bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
shell: bash
run: |
sha1=$(git diff-index HEAD ${{ matrix.package }}/requirements | awk '{print $4}')
[[ $sha1 == "0000000000000000000000000000000000000000" ]] && git update-index --really-refresh ${{ matrix.package }}/requirements
[[ $sha1 == "0000000000000000000000000000000000000000" ]] && git update-index --really-refresh ${{ matrix.package }}/requirements/${{ matrix.os }}_py${{ matrix.python-version }}*.txt
echo "count=$(git diff-index HEAD ${{ matrix.package }}/requirements | wc -l | xargs)" >> $GITHUB_OUTPUT
echo "files=$(git ls-files --exclude-standard --others ${{ matrix.package }}/requirements | wc -l | xargs)" >> $GITHUB_OUTPUT
- name: commit & push changes
Expand Down

0 comments on commit cdb78bd

Please sign in to comment.