Skip to content

[lib] make sure useSendComposableDMOperation will not throw #2242

[lib] make sure useSendComposableDMOperation will not throw

[lib] make sure useSendComposableDMOperation will not throw #2242

Workflow file for this run

name: Windows build CI
on:
workflow_call:
push:
branches: [master]
paths-ignore:
- 'landing/**'
- 'docs/**'
- 'keyserver/**'
- 'native/**'
- 'shared/**'
jobs:
build:
name: Build Windows app
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Fix node-gyp
run: python3 -m pip install packaging setuptools
- name: yarn ci-cleaninstall
run: yarn ci-cleaninstall
- name: Save WINDOWS_CERTIFICATE_B64 to file
env:
WINDOWS_CERTIFICATE_B64: ${{secrets.WINDOWS_CERTIFICATE_B64}}
run: echo "$env:WINDOWS_CERTIFICATE_B64" > WINDOWS_CERTIFICATE_B64.b64
- name: Decode Windows certificate
run: certutil -decode WINDOWS_CERTIFICATE_B64.b64 windows_certificate.pfx
- name: Build App
env:
WINDOWS_CERTIFICATE: ${{github.workspace}}\windows_certificate.pfx
WINDOWS_PASSWORD: ${{secrets.WINDOWS_PASSWORD}}
working-directory: './desktop'
run: yarn make
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: windows-artifacts
path: ./desktop/out/make/**/*
if-no-files-found: error
retention-days: 1