Update and rename CI-winpeas_master_test.yml to CI-master_tests.yml
This commit is contained in:
parent
5f3fae67f8
commit
3c64a88fba
@ -1,4 +1,4 @@
|
|||||||
name: CI-winpeas_master_test
|
name: CI-master_test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -105,9 +105,59 @@ jobs:
|
|||||||
git config --global user.name "CI-winpeas"
|
git config --global user.name "CI-winpeas"
|
||||||
git commit -m "winpeas binaries auto update" -a --allow-empty
|
git commit -m "winpeas binaries auto update" -a --allow-empty
|
||||||
|
|
||||||
|
# Git Pull
|
||||||
|
- name: Pull possible previous changes
|
||||||
|
run: git pull
|
||||||
|
|
||||||
# Git push
|
# Git push
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
|
Build_and_test_linpeas_master:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Build linpeas
|
||||||
|
run: |
|
||||||
|
python3 -m pip install PyYAML
|
||||||
|
cd linPEAS
|
||||||
|
python3 -m builder.linpeas_builder
|
||||||
|
- name: Run linpeas
|
||||||
|
run: linPEAS/linpeas.sh
|
||||||
|
|
||||||
|
- name: Create local changes
|
||||||
|
run: git add linPEAS/linpeas.sh
|
||||||
|
|
||||||
|
- name: Commit results to Github
|
||||||
|
run: |
|
||||||
|
git config --local user.email ""
|
||||||
|
git config --global user.name "CI-linpeas-ubuntu"
|
||||||
|
git commit -m "linpeas.sh auto update" -a --allow-empty
|
||||||
|
|
||||||
|
- name: Pull possible previous changes
|
||||||
|
run: git pull
|
||||||
|
|
||||||
|
- name: Push changes
|
||||||
|
uses: ad-m/github-push-action@master
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
branch: ${{ github.ref }}
|
||||||
|
|
||||||
|
Build_and_test_macpeas_master:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Build macpeas
|
||||||
|
run: |
|
||||||
|
python3 -m pip install PyYAML
|
||||||
|
cd linPEAS
|
||||||
|
python3 -m builder.linpeas_builder
|
||||||
|
- name: Run macpeas
|
||||||
|
run: linPEAS/linpeas.sh -o SysI,Container,Devs,AvaSof,ProCronSrvcsTmrsSocks,Net,UsrI,SofI
|
Loading…
Reference in New Issue
Block a user