Skip to content

Commit 251d82b

Browse files
committed
feat: remove continue-on-error and handle git push failure with echo message
1 parent ee23a5b commit 251d82b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/eas-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ jobs:
116116
# run: pnpm build:${{ inputs.environment }}:${{ matrix.platform }} --non-interactive --no-wait --message "Build ${{ inputs.environment }} for ${{ matrix.platform }}" --local
117117

118118
- name: 📦 Push changes to repository
119-
continue-on-error: true
120119
if: inputs.new-version
121120
run: |
122-
git push
121+
# Return 0 if push fails and echo an error message
122+
git push || echo "Skipping push: version was already updated."
123123
124124
- name: Upload ${{ matrix.platform }} Build
125125
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)