Skip to content

Commit

Permalink
add timeout action
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Jul 9, 2024
1 parent 72ade1b commit 5af38c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,12 @@ jobs:
run: ./gradlew :extensions:imgui-node-editor:nodeeditor-build:build_project

- name: Upload to repository
if: ${{ inputs.shouldUpload }}
run: ./gradlew publish
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 10
retry_on: error
command: ./gradlew publish
env:
USER: ${{ secrets.USER }}
PASSWORD: ${{ secrets.PASSWORD }}
Expand Down

0 comments on commit 5af38c9

Please sign in to comment.