1919 strategy :
2020 fail-fast : false
2121 matrix :
22- features : ["debugmozjs", "streams "]
22+ features : ["debugmozjs", ""]
2323 platform :
2424 - { target: aarch64-apple-darwin, os: macos-14 }
2525 - { target: x86_64-apple-darwin, os: macos-13 }
@@ -45,12 +45,12 @@ jobs:
4545
4646 - name : Generate artifact attestation
4747 uses : actions/attest-build-provenance@v1
48- if : ${{ inputs.release && contains( matrix.features, 'streams') }}
48+ if : ${{ inputs.release && matrix.features == '' }}
4949 with :
5050 subject-path : ./target/libmozjs-${{ matrix.platform.target }}.tar.gz
5151
5252 - name : Upload artifact
53- if : ${{ contains( matrix.features, 'streams') }}
53+ if : ${{ matrix.features == '' }}
5454 uses : actions/upload-artifact@v4
5555 with :
5656 path : ./target/libmozjs-${{ matrix.platform.target }}.tar.gz
6565 strategy :
6666 fail-fast : false
6767 matrix :
68- features : ["debugmozjs", "streams "]
68+ features : ["debugmozjs", ""]
6969 steps :
7070 - uses : actions/checkout@v4
7171 - uses : dtolnay/rust-toolchain@stable
@@ -80,19 +80,19 @@ jobs:
8080 cargo test --tests --examples --verbose --features ${{ matrix.features }}
8181 - name : Check wrappers integrity
8282 # we generate wrappers only without debugmozjs
83- if : ${{ matrix.features == 'streams ' }}
83+ if : ${{ matrix.features == '' }}
8484 run : |
8585 bash ./mozjs/src/generate_wrappers.sh
8686 git diff --quiet --exit-code
8787
8888 - name : Generate artifact attestation
8989 uses : actions/attest-build-provenance@v1
90- if : ${{ inputs.release && contains( matrix.features, 'streams') }}
90+ if : ${{ inputs.release && matrix.features == '' }}
9191 with :
9292 subject-path : ./target/libmozjs-x86_64-unknown-linux-gnu.tar.gz
9393
9494 - name : Upload artifact
95- if : ${{ contains( matrix.features, 'streams') }}
95+ if : ${{ matrix.features == '' }}
9696 uses : actions/upload-artifact@v4
9797 with :
9898 path : ./target/libmozjs-x86_64-unknown-linux-gnu.tar.gz
@@ -103,7 +103,7 @@ jobs:
103103 strategy :
104104 fail-fast : false
105105 matrix :
106- features : ["debugmozjs", "streams "]
106+ features : ["debugmozjs", ""]
107107 target : ["x86_64-pc-windows-msvc", "aarch64-pc-windows-msvc"]
108108 env :
109109 LINKER : " lld-link.exe"
@@ -135,12 +135,12 @@ jobs:
135135
136136 - name : Generate artifact attestation
137137 uses : actions/attest-build-provenance@v1
138- if : ${{ inputs.release && !contains(matrix.target, 'aarch64') && contains( matrix.features, 'streams') }}
138+ if : ${{ inputs.release && !contains(matrix.target, 'aarch64') && matrix.features == '' }}
139139 with :
140140 subject-path : ./target/${{ matrix.target }}/libmozjs-x86_64-pc-windows-msvc.tar.gz
141141
142142 - name : Upload artifact
143- if : ${{ !contains(matrix.target, 'aarch64') && contains( matrix.features, 'streams') }}
143+ if : ${{ !contains(matrix.target, 'aarch64') && matrix.features == '' }}
144144 uses : actions/upload-artifact@v4
145145 with :
146146 path : ./target/${{ matrix.target }}/libmozjs-x86_64-pc-windows-msvc.tar.gz
@@ -186,7 +186,7 @@ jobs:
186186 env :
187187 OHOS_SDK_NATIVE : ${{ steps.setup_sdk.outputs.ohos_sdk_native }}
188188 run : |
189- ./ohos-build cargo build --target="${{ matrix.target }}" --features "streams"
189+ ./ohos-build cargo build --target="${{ matrix.target }}"
190190 - name : Generate artifact attestation
191191 uses : actions/attest-build-provenance@v1
192192 if : ${{ inputs.release }}
0 commit comments