Skip to content

Commit 9723c5f

Browse files
Evgeny KarpovBlackhex
authored andcommitted
* build and upload emsdk-arm64 artifact
1 parent f044cfd commit 9723c5f

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/build-deps.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
if: ${{ inputs.emsdk_build }}
168168
needs: [emscripten_build,build-llvm-webassembly-arm64]
169169

170-
runs-on: [ubuntu-latest]
170+
runs-on: [windows-latest]
171171

172172
steps:
173173

@@ -182,6 +182,15 @@ jobs:
182182
- name: Build emsdk arm64
183183
run: |
184184
ls
185-
mkdir -p emsdk/emscripten
186-
unzip emscripten_package.zip -d emsdk/emscripten
187-
unzip llvm-arm64.zip -d emsdk
185+
New-Item -ItemType Directory -Force -Path emsdk/emscripten
186+
Expand-Archive -LiteralPath emscripten_package.zip -DestinationPath emsdk\emscripten
187+
Expand-Archive -LiteralPath llvm-arm64.zip -DestinationPath emsdk
188+
cd emsdk
189+
Compress-Archive -Path . -DestinationPath emsdk-arm64
190+
191+
- name: Archive llvm-arm64.zip
192+
uses: actions/upload-artifact@v3
193+
with:
194+
name: emsdk-arm64.zip
195+
path: emsdk/emsdk-arm64.zip
196+

0 commit comments

Comments
 (0)