mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
fix: ohos workflow expression error (#35109)
Signed-off-by: DK Liao <dklassic@gmail.com>
This commit is contained in:
parent
32a43ed026
commit
554d4a6420
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ohos.yml
vendored
6
.github/workflows/ohos.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
target: ['aarch64-unknown-linux-ohos', 'x86_64-unknown-linux-ohos']
|
target: ['aarch64-unknown-linux-ohos', 'x86_64-unknown-linux-ohos']
|
||||||
outputs:
|
outputs:
|
||||||
signed: $${{ steps.signing-config.outputs.signed }}
|
signed: ${{ steps.signing_config.outputs.signed }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
if: github.event_name != 'pull_request_target'
|
if: github.event_name != 'pull_request_target'
|
||||||
|
@ -82,7 +82,7 @@ jobs:
|
||||||
npm install "@ohos/hvigor@5" "@ohos/hvigor-ohos-plugin@5"
|
npm install "@ohos/hvigor@5" "@ohos/hvigor-ohos-plugin@5"
|
||||||
echo "HVIGOR_PATH=$PWD" >> $GITHUB_ENV
|
echo "HVIGOR_PATH=$PWD" >> $GITHUB_ENV
|
||||||
- name: "Setup HAP signing config"
|
- name: "Setup HAP signing config"
|
||||||
id: signing-config
|
id: signing_config
|
||||||
env:
|
env:
|
||||||
SIGNING_MATERIAL: ${{ secrets.SERVO_OHOS_SIGNING_MATERIAL }}
|
SIGNING_MATERIAL: ${{ secrets.SERVO_OHOS_SIGNING_MATERIAL }}
|
||||||
if: ${{ inputs.upload || env.SIGNING_MATERIAL != '' }} # Allows the build to pass on forks.
|
if: ${{ inputs.upload || env.SIGNING_MATERIAL != '' }} # Allows the build to pass on forks.
|
||||||
|
@ -143,7 +143,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
target: ohos-${{ matrix.target }}
|
target: ohos-${{ matrix.target }}
|
||||||
profile: ${{ inputs.profile }}
|
profile: ${{ inputs.profile }}
|
||||||
compressed-file-path: ${{ inputs.profile }}-binary-ohos-${{ matrix.target }}/servoshell-default-${{ needs.build.outputs.signed == true && 'signed' || 'unsigned' }}.hap
|
compressed-file-path: ${{ inputs.profile }}-binary-ohos-${{ matrix.target }}/servoshell-default-${{ needs.build.outputs.signed && 'signed' || 'unsigned' }}.hap
|
||||||
binary-path: libs/${{ matrix.target == 'aarch64-unknown-linux-ohos' && 'arm64-v8a' || matrix.target == 'x86_64-unknown-linux-ohos' && 'x86_64' }}/libservoshell.so
|
binary-path: libs/${{ matrix.target == 'aarch64-unknown-linux-ohos' && 'arm64-v8a' || matrix.target == 'x86_64-unknown-linux-ohos' && 'x86_64' }}/libservoshell.so
|
||||||
file-size: true
|
file-size: true
|
||||||
speedometer: false
|
speedometer: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue