Skip to content

Update main.yml

Update main.yml #22

Workflow file for this run

name: Compile and Upload Artifact
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10.13'
- name: Install dependencies
run: |
pip install pyinstaller protontricks
- name: Compile code
run: |
pyinstaller --onefile --add-data="protontricks:protontricks" pg3d-injector.py
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: compiled-code
path: dist/pg3d-injector