Skip to content

Commit b6fc4e9

Browse files
ci: Retry WDA release build (#1093)
1 parent 98c84cd commit b6fc4e9

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/publish.js.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,18 @@ jobs:
5454
with:
5555
xcode-version: "${{ env.XCODE_VERSION }}"
5656
- name: ${{ matrix.config.name }}
57-
run: sh $GITHUB_WORKSPACE/Scripts/ci/${{ matrix.config.build_script }}
58-
env:
59-
DERIVED_DATA_PATH: ${{ matrix.config.derived_data_path }}
60-
SCHEME: ${{ matrix.config.scheme }}
61-
DESTINATION: ${{ matrix.config.destination }}
62-
WD: ${{ matrix.config.wd }}
63-
ZIP_PKG_NAME: ${{ matrix.config.zip_name }}
64-
ARCHS: ${{ matrix.config.archs || '' }}
57+
uses: nick-fields/retry@v3
58+
with:
59+
timeout_minutes: 10
60+
max_attempts: 3
61+
command: |
62+
export DERIVED_DATA_PATH="${{ matrix.config.derived_data_path }}"
63+
export SCHEME="${{ matrix.config.scheme }}"
64+
export DESTINATION="${{ matrix.config.destination }}"
65+
export WD="${{ matrix.config.wd }}"
66+
export ZIP_PKG_NAME="${{ matrix.config.zip_name }}"
67+
export ARCHS="${{ matrix.config.archs || '' }}"
68+
sh $GITHUB_WORKSPACE/Scripts/ci/${{ matrix.config.build_script }}
6569
- name: Upload artifact
6670
uses: actions/upload-artifact@v4
6771
with:

0 commit comments

Comments
 (0)