Skip to content

Commit ea7e8ae

Browse files
committed
Fix build environment PATH for NSIS and MinGW
1 parent 237dfdb commit ea7e8ae

1 file changed

Lines changed: 6 additions & 22 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,22 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
1919

20-
- name: Install build dependencies
21-
shell: powershell
22-
run: |
23-
choco install mingw nsis -y
24-
refreshenv
25-
26-
- name: Verify tools
27-
shell: powershell
20+
- name: Setup PowerShell
21+
shell: pwsh
2822
run: |
29-
g++ --version
30-
windres --version
31-
makensis -VERSION
23+
pwsh --version
3224
33-
- name: Build PowerShell Guardian
25+
- name: Run build script
3426
shell: pwsh
3527
run: |
3628
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
3729
.\build.ps1
3830
39-
- name: Run security tests
31+
- name: Run Python security tests
4032
shell: pwsh
4133
run: |
34+
python --version
4235
python tests/security_contract_test.py
4336
44-
- name: Upload build artifacts
45-
uses: actions/upload-artifact@v4
46-
if: success()
47-
with:
48-
name: PowerShellGuardian-build
49-
path: |
50-
build/**
51-
*.exe
52-
5337
- name: Build completed
5438
run: echo "PowerShell Guardian build completed successfully."

0 commit comments

Comments
 (0)