Skip to content

refactor: Rewrote Retrieve Microsoft PC Manager logs #36

refactor: Rewrote Retrieve Microsoft PC Manager logs

refactor: Rewrote Retrieve Microsoft PC Manager logs #36

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "main", "Snapshots_GC" ]
pull_request:
branches: [ "main", "Snapshots_GC" ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ windows-latest ]
architecture: [ x64 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if (Test-Path requirements.txt) { pip install -r requirements.txt }
- name: Build exe
run: |
./build.bat
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ github.ref == 'refs/heads/main' && 'MSPCManagerHelper_Beta' || 'MSPCManagerHelper_SNAPSHOTS_Beta' }}_${{ matrix.os }}_${{ matrix.architecture }}
path: ./dist/