-
-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (24 loc) · 870 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
name: expedite
on: [push]
jobs:
ci-build:
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Setup a functioning local Python 3 installation
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install the base dependencies of the project
run: python3 -m pip3 install --upgrade poetry pyinstaller
- name: Install the runtime dependencies of the project
run: python3 -m poetry install
- name: Build the project binary for Microsoft Windows
run: python3 -m pyinstaller expedite/client/bridge/main.py --clean --onefile --name "ed-bridge-${{ github.sha }}" --windowed --icon assets/icon/expedite.ico
- name: Make the project binaries available for download
uses: actions/upload-artifact@v4
with:
path: dist/*