Skip to content

Commit 723367b

Browse files
authored
Update ci-internal.yml
1 parent 306e503 commit 723367b

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ci-internal.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,15 @@ jobs:
9595
- name: Install node package, `unity-verify-code`
9696
run: npm install --global https://github.com/sierpinskid/unity-verify-code
9797

98-
- name: Install unar (for extracting .pkg files on Linux)
98+
- name: Install xar
9999
if: ${{ inputs.os }} == 'ubuntu-latest'
100-
run: sudo apt-get install -y unar
100+
run: |
101+
git clone https://github.com/mackyle/xar.git
102+
cd xar/xar
103+
./autogen.sh
104+
./configure
105+
make
106+
sudo make install
101107
continue-on-error: true
102108

103109
- name: Download Unity & Modules
@@ -211,7 +217,7 @@ jobs:
211217
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
212218
sudo installer -package ~/UnityIosModule.pkg -target /
213219
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
214-
unar -o /opt/Editor ~/UnityAndroidModule.pkg
220+
xar -xf ~/UnityAndroidModule.pkg -C /opt/Editor/
215221
fi
216222
217223
- name: Create Test Results dir

0 commit comments

Comments
 (0)