Skip to content

replace log_exception with logging.exception #46

replace log_exception with logging.exception

replace log_exception with logging.exception #46

name: Package Application - Ubuntu
on:
workflow_dispatch:
push:
jobs:
linux-build:
name: build Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: git
run: |
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
git --version
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: pyinstaller build
run: |
python build.py
- name: Move files
run: |
mv ./dist ./wme-Ubuntu
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: "wme-ubuntu-2.2.0 - ${{github.run_number}}"
path: wme-Ubuntu