simplify small parts of code with new python api #26
Workflow file for this run
This file contains 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: worker | |
on: | |
push: | |
branches: | |
- "master" | |
- "worker/**" | |
- "bump-python/**" | |
jobs: | |
binary: | |
runs-on: windows-latest | |
steps: | |
- name: π Checkout GitHub repo (+ download lfs dependencies) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: π Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: π Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install pyinstaller==5.6.2 | |
- name: π¦ Packaging AntaresWebWorker | |
run: bash ./package_worker.sh | |
working-directory: scripts | |
- name: π Upload binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: AntaresWebWorker | |
path: dist/AntaresWebWorker.exe |