File tree Expand file tree Collapse file tree 3 files changed +24
-16
lines changed Expand file tree Collapse file tree 3 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 55 - ' main'
66jobs :
77 package :
8- runs-on : windows-latest
9- steps :
10- - uses : actions/checkout@v3
11- - name : Install Ninja
12- run : choco install ninja
13- - name : Generate Ninja build
14- run : cmake -B build -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_COMPILER=clang
15- - name : Package
16- run : cmake --build build --target package
17- - uses : actions/upload-artifact@v3
18- with :
19- name : package
20- path : |
21- build/*.msi
22- build/*.zip
23- if-no-files-found : error
8+ uses : ./.github/workflows/reusable-package.yml
Original file line number Diff line number Diff line change 77 required : true
88 type : string
99jobs :
10+ package :
11+ uses : ./.github/workflows/reusable-package.yml
1012 release :
1113 runs-on : ubuntu-latest
1214 steps :
Original file line number Diff line number Diff line change 1+ name : Package
2+ on :
3+ workflow_call :
4+ jobs :
5+ package :
6+ runs-on : windows-latest
7+ steps :
8+ - uses : actions/checkout@v3
9+ - name : Install Ninja
10+ run : choco install ninja
11+ - name : Generate Ninja build
12+ run : cmake -B build -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_COMPILER=clang
13+ - name : Package
14+ run : cmake --build build --target package
15+ - uses : actions/upload-artifact@v3
16+ with :
17+ name : package
18+ path : |
19+ build/*.msi
20+ build/*.zip
21+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments