File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
1414 description : ' OS used to select the v8 lib'
1515 required : false
1616 default : ' linux'
17+ target-env :
18+ description : ' TARGET_ENVIRONMENT used to select the v8 lib, only for ios build'
19+ required : false
20+ default : ' simulator'
1721 zig-v8 :
1822 description : ' zig v8 version to install'
1923 required : false
@@ -51,13 +55,20 @@ runs:
5155 path : ${{ inputs.cache-dir }}/v8
5256 key : libc_v8_${{ inputs.v8 }}_${{ inputs.os }}_${{ inputs.arch }}_${{ inputs.zig-v8 }}.a
5357
54- - if : ${{ steps.cache-v8.outputs.cache-hit != 'true' }}
58+ - if : ${{ steps.cache-v8.outputs.cache-hit != 'true' and inputs.os != "ios" }}
5559 shell : bash
5660 run : |
5761 mkdir -p ${{ inputs.cache-dir }}/v8
5862
5963 wget -O ${{ inputs.cache-dir }}/v8/libc_v8.a https://github.com/lightpanda-io/zig-v8-fork/releases/download/${{ inputs.zig-v8 }}/libc_v8_${{ inputs.v8 }}_${{ inputs.os }}_${{ inputs.arch }}.a
6064
65+ - if : ${{ steps.cache-v8.outputs.cache-hit != 'true' and inputs.os == "ios" }}
66+ shell : bash
67+ run : |
68+ mkdir -p ${{ inputs.cache-dir }}/v8
69+
70+ wget -O ${{ inputs.cache-dir }}/v8/libc_v8.a https://github.com/lightpanda-io/zig-v8-fork/releases/download/${{ inputs.zig-v8 }}/libc_v8_${{ inputs.v8 }}_${{ inputs.os }}_${{ inputs.target-env }}_${{ inputs.arch }}.a
71+
6172 - name : install v8
6273 shell : bash
6374 run : |
You can’t perform that action at this time.
0 commit comments