Add Arm64 binaries to installer #62
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| macos: | |
| name: Build on Windows | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Download Updater package | |
| uses: dawidd6/action-download-artifact@v11 | |
| with: | |
| workflow: build.yml | |
| branch: arm64 | |
| name_is_regexp: true | |
| name: msi_143_[x64|arm64] | |
| merge_multiple: true | |
| repo: open-eid/updater | |
| - name: Download DigiDoc4 package | |
| uses: dawidd6/action-download-artifact@v11 | |
| with: | |
| workflow: build.yml | |
| branch: arm64 | |
| name_is_regexp: true | |
| name: msi_143_[x64|arm64] | |
| merge_multiple: true | |
| repo: open-eid/DigiDoc4-Client | |
| - name: Download Web-eID packages | |
| uses: dawidd6/action-download-artifact@v11 | |
| with: | |
| workflow: cmake-windows.yml | |
| branch: coverity_scan | |
| name_is_regexp: true | |
| name: web-eid-app-windows-build-[x64|arm64]-* | |
| merge_multiple: true | |
| repo: web-eid/web-eid-app | |
| - name: Cache Open-EID | |
| id: cache-open-eid | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| Open-EID.zip | |
| ~/.dotnet/tools | |
| ~/.wix | |
| key: ${{ runner.os }}-open-eid | |
| - name: Install dependencies | |
| if: steps.cache-open-eid.outputs.cache-hit != 'true' | |
| run: | | |
| dotnet tool install --global wix --version 6.0.2 | |
| wix extension -g add WixToolset.UI.wixext/6.0.2 | |
| wix extension -g add WixToolset.Util.wixext/6.0.2 | |
| wix extension -g add WixToolset.BootstrapperApplications.wixext/6.0.2 | |
| curl -O -L https://installer.id.ee/media/win/Open-EID.zip | |
| - name: Build | |
| env: | |
| BUILD_NUBMER: ${{ github.run_number }} | |
| VER_SUFFIX: .GITHUB | |
| run: | | |
| unzip --% Open-EID.zip -x 'Digidoc*' 'web-eid*' 'ID-Updater*' | |
| pwsh build.ps1 | |
| - name: Archive artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: windows | |
| path: Open-EID-*.exe |