Skip to content

Commit 001a493

Browse files
committed
Use nick-fields@retry action for Start Runtime
1 parent 7a4d2d9 commit 001a493

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/NativePipeline.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -692,11 +692,15 @@ jobs:
692692
with:
693693
name: android-app
694694
path: android-app
695-
- name: "Start runtime"
696-
uses: ./.github/actions/start-runtime
697-
with:
698-
mda-file: automation.mda
699-
mendix-version: ${{ needs.mendix-version.outputs.mendix_version }}
695+
- name: "Start runtime with retry"
696+
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08
697+
with:
698+
timeout_minutes: 10
699+
max_attempts: 3
700+
command: |
701+
.github/scripts/setup-runtime.sh "${{ inputs.mda-file }}" "${{ inputs.mendix-version }}" "${{ steps.setup-java.outputs.path }}" "${{ github.workspace }}"
702+
# Then verify
703+
grep "The MxRuntime is fully started now." var/opt/m2ee/m2ee.log
700704
- name: "Install Maestro"
701705
run: |
702706
mkdir -p $HOME/.local/bin

0 commit comments

Comments
 (0)