@@ -147,10 +147,10 @@ jobs:
147147 run : |
148148 git -C .stage/homebrew-tap config user.name "github-actions[bot]"
149149 git -C .stage/homebrew-tap config user.email "41898282+github-actions[bot]@users.noreply.github.com"
150- if git -C .stage/homebrew-tap diff --quiet; then
150+ git -C .stage/homebrew-tap add Formula/icey-server.rb
151+ if git -C .stage/homebrew-tap diff --cached --quiet; then
151152 exit 0
152153 fi
153- git -C .stage/homebrew-tap add Formula/icey-server.rb
154154 git -C .stage/homebrew-tap commit -m "icey-server ${{ needs.build-manifests.outputs.cli_version }}"
155155 git -C .stage/homebrew-tap push
156156
@@ -209,10 +209,10 @@ jobs:
209209 run : |
210210 git -C .stage/0state-packages config user.name "github-actions[bot]"
211211 git -C .stage/0state-packages config user.email "41898282+github-actions[bot]@users.noreply.github.com"
212- if git -C .stage/0state-packages diff --quiet; then
212+ git -C .stage/0state-packages add .nojekyll index.html icey
213+ if git -C .stage/0state-packages diff --cached --quiet; then
213214 exit 0
214215 fi
215- git -C .stage/0state-packages add .nojekyll index.html icey
216216 git -C .stage/0state-packages commit -m "icey-server ${{ needs.build-manifests.outputs.cli_version }}"
217217 git -C .stage/0state-packages push
218218
@@ -268,10 +268,10 @@ jobs:
268268 run : |
269269 git -C .stage/aur-repo config user.name "github-actions[bot]"
270270 git -C .stage/aur-repo config user.email "41898282+github-actions[bot]@users.noreply.github.com"
271- if git -C .stage/aur-repo diff --quiet; then
271+ git -C .stage/aur-repo add PKGBUILD .SRCINFO
272+ if git -C .stage/aur-repo diff --cached --quiet; then
272273 exit 0
273274 fi
274- git -C .stage/aur-repo add PKGBUILD .SRCINFO
275275 git -C .stage/aur-repo commit -m "icey-server ${{ needs.build-manifests.outputs.cli_version }}"
276276 GIT_SSH_COMMAND='ssh -i ~/.ssh/aur -o IdentitiesOnly=yes' \
277277 git -C .stage/aur-repo push
0 commit comments