File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build with WDK 7.1.0
22
3- on : workflow_dispatch
3+ on :
4+ workflow_dispatch :
5+ workflow_call :
46
57jobs :
68 build :
9+ name : Build
710 runs-on : windows-latest
811
912 steps :
10- - name : Download WDK 7.1.0
13+ - name : Cache ISO
14+ id : cache-wdk
15+ uses : actions/cache@v3
16+ env :
17+ cache-name : cache-wdk-7.1.0
18+ with :
19+ path : ${{ github.workspace }}\GRMWDK_EN_7600_1.ISO
20+ key : ${{ env.cache-name }}
21+ - if : ${{ steps.cache-wdk.outputs.cache-hit != 'true' }}
22+ name : Download WDK 7.1.0.7600
1123 run : (New-Object Net.WebClient).DownloadFile("https://download.microsoft.com/download/4/A/2/4A25C7D5-EFBE-4182-B6A9-AE6850409A78/GRMWDK_EN_7600_1.ISO", "${{ github.workspace }}\GRMWDK_EN_7600_1.ISO")
1224 - name : Install 7zip
1325 run : choco install 7zip
1426 - name : Unpack ISO
1527 run : 7z.exe x -y -o"${{ github.workspace }}" "${{ github.workspace }}\GRMWDK_EN_7600_1.ISO"
16- - name : Setup WDK 7.1.0
28+ - name : Setup WDK 7.1.0.7600
1729 run : .\KitSetup.exe /install ALL /ui-level EXPRESS
1830 shell : cmd
1931 - name : Checkout code
@@ -24,10 +36,13 @@ jobs:
2436 run : |
2537 C:\WinDDK\7600.16385.1\bin\setenv.bat C:\WinDDK\7600.16385.1 fre WXP && D: && cd ${{ github.workspace }}\srcdir && build /g /w
2638 shell : cmd
27- - name : Upload artefact
39+ - name : Upload artifact
2840 uses : actions/upload-artifact@v4
2941 with :
30- name : Executable
31- path : ${{ github.workspace }}\srcdir\objfre_wxp_x86\i386\native.exe
42+ name : nativeshell
43+ path : |
44+ ${{ github.workspace }}\srcdir\objfre_wxp_x86\i386\native.exe
45+ ${{ github.workspace }}\srcdir\install\*
46+ ${{ github.workspace }}\srcdir\README.md
3247 retention-days : 1
33-
48+
Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- name : Build
11- runs-on : windows-latest
12-
13- steps :
14- - name : Download WDK 7.1.0.7600
15- run : (New-Object Net.WebClient).DownloadFile("https://download.microsoft.com/download/4/A/2/4A25C7D5-EFBE-4182-B6A9-AE6850409A78/GRMWDK_EN_7600_1.ISO", "${{ github.workspace }}\GRMWDK_EN_7600_1.ISO")
16- - name : Install 7zip
17- run : choco install 7zip
18- - name : Unpack ISO
19- run : 7z.exe x -y -o"${{ github.workspace }}" "${{ github.workspace }}\GRMWDK_EN_7600_1.ISO"
20- - name : Setup WDK 7.1.0.7600
21- run : .\KitSetup.exe /install ALL /ui-level EXPRESS
22- shell : cmd
23- - name : Checkout code
24- uses : actions/checkout@v4
25- with :
26- path : ' srcdir'
27- - name : Build project
28- run : |
29- C:\WinDDK\7600.16385.1\bin\setenv.bat C:\WinDDK\7600.16385.1 fre WXP && D: && cd ${{ github.workspace }}\srcdir && build /g /w
30- shell : cmd
31- - name : Upload artifact
32- uses : actions/upload-artifact@v4
33- with :
34- name : nativeshell
35- path : |
36- ${{ github.workspace }}\srcdir\objfre_wxp_x86\i386\native.exe
37- ${{ github.workspace }}\srcdir\install\*
38- ${{ github.workspace }}\srcdir\README.md
39- retention-days : 1
10+ uses : ./.github/workflows/build.yml
4011
4112 release :
4213 needs : build
7041 with :
7142 upload_url : ${{ steps.create_release.outputs.upload_url }}
7243 asset_path : ${{ github.workspace }}/nativeshell.zip
73- asset_name : nativeshell.winxp- i386.zip
44+ asset_name : nativeshell.i386.zip
7445 asset_content_type : application/zip
7546
7647
You can’t perform that action at this time.
0 commit comments