Skip to content

Commit

Permalink
Attempt fixing the GitHub Actions configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
  • Loading branch information
gridhead committed Jul 22, 2024
1 parent 36fdb1e commit fe1b433
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
---
name: "expedite"
on: ["push"]
name: expedite
on: [push]
jobs:
ci-build:
runs-on: "windows-latest"
runs-on: windows-latest
strategy:
fail-fast: false

steps:
- name: "Checkout the codebase to a local working directory"
uses: "actions/checkout@v4"
steps:
- name: Checkout the codebase in local working directory
uses: actions/checkout@v4

- name: "Setup a functioning local Python 3 installation"
uses: "actions/setup-python@v5"
with:
python-version: "3.12"
- name: Setup a functioning local Python 3 installation
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: "Install the base dependencies"
run: "python3 -m pip3 install --upgrade poetry pyinstaller"
- name: Install the base dependencies of the project
run: python3 -m pip install --upgrade poetry pyinstaller

- name: "Install the project dependencies"
run: "python3 -m poetry install"
- name: Install the runtime dependencies of the project
run: python3 -m poetry install

- name: "Build the project binary"
run: "python3 -m pyinstaller expedite\client\bridge\main.py --clean --onefile --name 'ed-bridge-${{ github.sha }}' --windowed --icon assets\icon\expedite.ico"
- 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

- uses: "actions/upload-artifact@v4"
with:
path: "dist/*"
- name: Make the project binaries available for download
uses: actions/upload-artifact@v4
with:
path: dist/*

0 comments on commit fe1b433

Please sign in to comment.