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