Skip to content

Commit 6e63208

Browse files
authored
Update ci-internal.yml
1 parent 17dc0be commit 6e63208

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/ci-internal.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ jobs:
128128
sudo apt install p7zip-full p7zip-rar
129129
continue-on-error: true
130130

131+
- name: Install unar
132+
run: |
133+
sudo apt-get install unar
134+
continue-on-error: true
135+
131136
- name: Download Unity & Modules
132137
shell: bash
133138
run: |
@@ -247,6 +252,21 @@ jobs:
247252
fi
248253
249254
- name: Install Mobile Module
255+
if: inputs.target_platform == 'mobile'
256+
uses: nick-fields/retry@v2
257+
continue-on-error: true
258+
with:
259+
timeout_minutes: 5
260+
max_attempts: 3
261+
shell: bash
262+
command: |
263+
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
264+
sudo installer -package ~/UnityIosModule.pkg -target /
265+
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
266+
7z x -o* ~/UnityAndroidModule.pkg
267+
fi
268+
269+
- name: Install Mobile Module 2
250270
if: inputs.target_platform == 'mobile'
251271
uses: nick-fields/retry@v2
252272
with:
@@ -257,7 +277,7 @@ jobs:
257277
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
258278
sudo installer -package ~/UnityIosModule.pkg -target /
259279
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
260-
7z x -o* UnityAndroidModule.pkg
280+
unar ~/UnityAndroidModule.pkg
261281
fi
262282
263283
- name: Create Test Results dir

0 commit comments

Comments
 (0)