runner images #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "2019 desktop choco packages CI workflow" | |
| on: | |
| push: | |
| branches: [ main ] | |
| schedule: | |
| - cron: '19 11 * * *' ##execution of a task in the first minute of the month | |
| jobs: | |
| windows-latest-pwsh-choco: | |
| name: "2019 Datacenter windows-latest choco packages" | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| - name: "check if server is virtual" | |
| run: Systeminfo | findstr /i model | |
| - name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86" | |
| run: wmic OS get OSArchitecture | |
| - name: "osfingerprinting" | |
| run: systeminfo | more | |
| - name: "display all processes, executable path" | |
| run: wmic process list full | |
| - name: "list of running services" | |
| run: tasklist | |
| - name: "list of all processes along with their corresponding PID, and services that are tied to them" | |
| run: tasklist /svc | |
| - name: "look for unusual services" | |
| run: net start | |
| - name: "query unusual services" | |
| run: sc query | |
| - name: "Choco packages - pwsh script" | |
| run: .\scripts\Choco_Packages_Desktop_windows10.ps1 | |
| shell: pwsh | |