Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetit authored Apr 1, 2024
1 parent 7ab6ee1 commit 4383518
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ jobs:
run: ls "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\"
- run: ls "C:\Program Files (x86)\Windows Kits\10\bin\x64\"
- run: ls "C:\Program Files (x86)\Windows Kits\10\bin\x86\"
- name: Generate self-signed certificate
run: |
$all_args=@('-r','-pe','-ss','PrivateCertStore','-n','CN=hubblo.org','-eku','1.3.6.1.5.5.7.3.3','ScaphandreDrvTest.cer');
& "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\MakeCert.exe" $all_args
- run: |
$src_pwd="$env:SRCPWD\ScaphandreDrv\ScaphandreDrv.inf";
echo "src_pwd = $src_pwd";
$all_args=@('-f',"$src_pwd",'-a','x64','-d',"'*'",'-v',"'*'");
echo "all_args = $all_args";
& "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\stampinf.exe" $all_args
- run: |
$all_args=@("/driver:.\ScaphandreDrv\",'/os:10_X64');
cd $env:SRCPWD; & "C:\Program Files (x86)\Windows Kits\10\bin\x86\Inf2Cat.exe" $all_args
- run: |
$all_args=@('sign','/v','/fd','sha256','/s','PrivateCertStore','/n','hubblo.org',"$env:SRCPWD\ScaphandreDrv\scaphandredrv.cat");
& "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\signtool.exe" $all_args
- run: |
$all_args=@('/add',"$env:SRCPWD\ScaphandreDrv\ScaphandreDrvTest.cer",'/s','/r','localMachine','root');
& "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\certmgr.exe" $all_args
#- name: Generate self-signed certificate
# run: |
# $all_args=@('-r','-pe','-ss','PrivateCertStore','-n','CN=hubblo.org','-eku','1.3.6.1.5.5.7.3.3','ScaphandreDrvTest.cer');
# & "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\MakeCert.exe" $all_args
#- run: |
# $src_pwd="$env:SRCPWD\ScaphandreDrv\ScaphandreDrv.inf";
# echo "src_pwd = $src_pwd";
# $all_args=@('-f',"$src_pwd",'-a','x64','-d',"'*'",'-v',"'*'");
# echo "all_args = $all_args";
# & "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\stampinf.exe" $all_args
#- run: |
# $all_args=@("/driver:.\ScaphandreDrv\",'/os:10_X64');
# cd $env:SRCPWD; & "C:\Program Files (x86)\Windows Kits\10\bin\x86\Inf2Cat.exe" $all_args
#- run: |
# $all_args=@('sign','/v','/fd','sha256','/s','PrivateCertStore','/n','hubblo.org',"$env:SRCPWD\ScaphandreDrv\scaphandredrv.cat");
# & "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\signtool.exe" $all_args
#- run: |
# $all_args=@('/add',"$env:SRCPWD\ScaphandreDrv\ScaphandreDrvTest.cer",'/s','/r','localMachine','root');
# & "C:\Program Files (x86)\Windows Kits\10\bin\$env:LFOLDER\x64\certmgr.exe" $all_args
#- run: & "C:\Program Files (x86)\Windows Kits\10\Tools\10.0.22621.0\x64\devcon.exe" install .\ScaphandreDrv.inf root\SCAPHANDREDRV

0 comments on commit 4383518

Please sign in to comment.