File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1414 repository : Griefed/ServerPackCreator
1515 ref : main
1616
17+ - uses : release-kit/hash-files@v1
18+ id : get-current-hash
19+ with :
20+ patterns : |
21+ README.md
22+ - name : Current README hash
23+ run : echo ${{ steps.get-current-hash.outputs.hash }}
24+
1725 - name : Add GitHub Sponsors to Readme
1826 uses : JamesIves/github-sponsors-readme-action@v1
1927 with :
3139 style : ' base'
3240 avatar-width : ' 70'
3341
42+ - uses : release-kit/hash-files@v1
43+ id : get-new-hash
44+ with :
45+ patterns : |
46+ README.md
47+ - name : New README hash
48+ run : echo ${{ steps.get-new-hash.outputs.hash }}
49+
3450 - name : Push
51+ if : " ${{ steps.get-current-hash.outputs.hash }}" != "${{ steps.get-new-hash.outputs.hash }}"
3552 run : |
3653 apt-get update && apt-get install git -y && \
3754 git config user.name ${{ secrets.GIT_USER }} && \
You can’t perform that action at this time.
0 commit comments