Files
cmd-alexandra-toxicity/.gitea/workflows/build.yml
Simon a362c637de
Some checks failed
BinGen / Validate (push) Failing after 22s
ci: Réutilise le chemin vers l'exe fournit durant le batit
2025-07-09 11:42:04 +02:00

40 lines
917 B
YAML

name: BinGen
run-name: Generate a exe file from the python script
on:
push:
branches:
- main
jobs:
Validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller colorama
- name: Build executable with pyinstaller
run: |
pyinstaller --onefile controleur_de_gaz.py
- name: Archive executable
run: |
cd /workspace/Simon/cmd-alexandra-toxicity/dist
zip jeu_windows.zip ./controleur_de_gaz.exe
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: escape-game-windows-exe
path: jeu_windows.zip