This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed
Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 11name : Build PowerShell Wrapper
22on :
33 workflow_call :
4+ inputs :
5+ release :
6+ required : true
7+ type : boolean
8+ default : false
49permissions : {}
510
611jobs :
712 wrapper_build :
13+ if : !github.event.inputs.release
814 runs-on : ubuntu-latest
915 steps :
1016 - name : Checkout Repository
@@ -27,10 +33,33 @@ jobs:
2733 with :
2834 name : powershell64-wrapper
2935 path : " powershell64.exe"
36+ release_build :
37+ if : github.event.inputs.release
38+ runs-on : ubuntu-latest
39+ steps :
40+ - name : Checkout Repository
41+ uses : actions/checkout@v4
42+ - name : Setup APT Packages
43+ uses : awalsh128/cache-apt-pkgs-action@latest
44+ with :
45+ packages : upx-ucl
46+ version : pwsh_wrapper_release
3047 - name : Build Powershell Wrapper (Dist)
48+ if : github.event.inputs.release
3149 run : |
3250 make dist
51+ - name : Upload 32bit Artifact
52+ uses : actions/upload-artifact@v4
53+ with :
54+ name : powershell32-wrapper
55+ path : " powershell32.exe"
56+ - name : Upload 64bit Artifact
57+ uses : actions/upload-artifact@v4
58+ with :
59+ name : powershell64-wrapper
60+ path : " powershell64.exe"
3361 - name : Upload Dist Artifacts
62+ if : github.event.inputs.release
3463 uses : actions/upload-artifact@v4
3564 with :
3665 name : powershell-wrapper-dist
Original file line number Diff line number Diff line change @@ -3,4 +3,6 @@ on: [push, pull_request]
33
44jobs :
55 ci_run :
6- uses : ProjectSynchro/powershell-wrapper-for-wine/.github/workflows/build_release.yml@master
6+ uses : ProjectSynchro/powershell-wrapper-for-wine/.github/workflows/build_release.yml@master
7+ with :
8+ release : false
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ permissions: {}
88jobs :
99 build_release :
1010 uses : ProjectSynchro/powershell-wrapper-for-wine/.github/workflows/build_release.yml@master
11+ with :
12+ release : true
1113 create_release :
1214 permissions :
1315 contents : write
You can’t perform that action at this time.
0 commit comments