-
Notifications
You must be signed in to change notification settings - Fork 10
67 lines (67 loc) · 1.99 KB
/
build.yml
File metadata and controls
67 lines (67 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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@v6
- 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@v5
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@v6
with:
name: windows
path: Open-EID-*.exe