- winpeas pipelines updates
This commit is contained in:
parent
6fbf309a80
commit
949996a4a1
19
.github/workflows/CI-winpeas_dev_test.yml
vendored
19
.github/workflows/CI-winpeas_dev_test.yml
vendored
@ -20,14 +20,13 @@ jobs:
|
||||
env:
|
||||
Solution_Path: 'winPEAS\winPEASexe\winPEAS.sln'
|
||||
Configuration: 'Release'
|
||||
DotFuscatorGeneratedPath: 'winPEAS\winPEASexe\binaries\Obfuscated Releases\Dotfuscated'
|
||||
|
||||
steps:
|
||||
# checkout
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
||||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
||||
- name: Setup MSBuild.exe
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
@ -47,10 +46,20 @@ jobs:
|
||||
- name: Execute unit tests
|
||||
run: dotnet test $env:Solution_Path
|
||||
|
||||
# PR
|
||||
- uses: actions/checkout@v2
|
||||
- name: pull-request
|
||||
|
||||
create_pull_request:
|
||||
runs-on: ubuntu-latest
|
||||
needs: Build_and_test_winpeas_dev
|
||||
|
||||
steps:
|
||||
# checkout
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# PR
|
||||
- name: Pull Request
|
||||
uses: repo-sync/pull-request@v2
|
||||
with:
|
||||
destination_branch: "master"
|
||||
github_token: ${{ secrets.PULL_REQUEST_TOKEN }}
|
||||
|
3
.github/workflows/CI-winpeas_master_test.yml
vendored
3
.github/workflows/CI-winpeas_master_test.yml
vendored
@ -67,7 +67,7 @@ jobs:
|
||||
echo "copy Any"
|
||||
cp winPEAS\winPEASexe\winPEAS\bin\$env:Configuration\winPEAS.exe winPEAS\winPEASexe\binaries\$env:Configuration\winPEASany.exe
|
||||
|
||||
# build obfuscated versions
|
||||
# Setup DotFuscator
|
||||
- name: Setup DotFuscator
|
||||
run: |
|
||||
7z x winPEAS\winPEASexe\Dotfuscator\DotfuscatorCE.zip
|
||||
@ -103,7 +103,6 @@ jobs:
|
||||
run: |
|
||||
git config --local user.email "ci@winpeas.com"
|
||||
git config --global user.name "CI-winpeas"
|
||||
git pull
|
||||
git commit -m "winpeas binaries auto update" -a --allow-empty
|
||||
|
||||
# Git push
|
||||
|
Loading…
Reference in New Issue
Block a user