Refactor workflow to use container job structure
Some checks failed
Build and Release / Build Windows Exe (push) Failing after 3s
Some checks failed
Build and Release / Build Windows Exe (push) Failing after 3s
This commit is contained in:
@@ -9,15 +9,19 @@ jobs:
|
||||
build:
|
||||
name: Build Windows Exe
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: cdrx/pyinstaller-windows:python3
|
||||
options: --user root
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build with PyInstaller (Wine)
|
||||
uses: docker://cdrx/pyinstaller-windows:python3
|
||||
with:
|
||||
# Image automatically installs requirements.txt if present
|
||||
args: "--onefile --clean --name wif2ansible run.py"
|
||||
- name: Install Requirements
|
||||
run: python -m pip install -r requirements.txt
|
||||
|
||||
- name: Build with PyInstaller
|
||||
run: pyinstaller --onefile --clean --name wif2ansible run.py
|
||||
|
||||
- name: Generate Version Tag
|
||||
id: version
|
||||
|
||||
Reference in New Issue
Block a user