Linux and MacOS autopack actions

This commit is contained in:
AresValley
2022-10-01 19:40:06 +02:00
parent d1716621b0
commit d2e0ece9eb
3 changed files with 37 additions and 3 deletions

34
.github/workflows/macOS-packaging.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Auto Packaging - MacOS
on:
workflow_dispatch:
jobs:
macos-packaging:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Use Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: pip install -r ./requirements/requirements.txt
- name: Install PyInstaller
run: |
pip install pyinstaller
- name: Build Artemis main executable
run: |
cd ./spec_files/macOS
pyinstaller Artemis.spec
ls -lart
- uses: actions/upload-artifact@v3
with:
name: Artemis_MacOS
path: |
./spec_files/macOS/dist

View File

@@ -5,7 +5,7 @@ on:
jobs:
windows-packaging:
runs-on: windows-latest
runs-on: windows-2022
steps:
- uses: actions/checkout@v3