Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BrownNPC authored May 4, 2024
1 parent 69a7bc2 commit 897aa1a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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.x'

- name: Install dependencies
run: |
pip install pyinstaller
- 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

0 comments on commit 897aa1a

Please sign in to comment.