File tree Expand file tree Collapse file tree 1 file changed +24
-21
lines changed
Expand file tree Collapse file tree 1 file changed +24
-21
lines changed Original file line number Diff line number Diff line change 11name : Create Windows Executable using Conda
22
3- on :
4- push :
5- tags :
6- - ' *'
3+ on : [push]
74
8- jobs :
9- build-windows :
10- runs-on : windows-latest
5+ # on:
6+ # push:
7+ # tags:
8+ # - '*'
119
10+ jobs :
11+ miniconda :
12+ name : Miniconda ${{ matrix.os }}
13+ runs-on : ${{ matrix.os }}
14+ strategy :
15+ matrix :
16+ os : ["windows-latest"]
1217 steps :
13- - uses : actions/checkout@v2
14- - name : Set up Python
15- uses : actions/setup-python@v2
16- with :
17- python-version : 3.9.5
18- - name : Install dependencies
19- run : |
20- C:\Miniconda\condabin\conda.bat env create --file environment.yaml
21- C:\Miniconda\condabin\conda.bat init powershell
22- - name : Build Executable
23- run : |
24- C:\Miniconda\condabin\conda.bat activate build
25- C:\Miniconda\condabin\conda.bat env export
26- pyinstaller --add-data="funscript_editor/config/*;funscript_editor/config" --hidden-import "pynput.keyboard._win32" --hidden-import "pynput.mouse._win32" funscript-editor.py
18+ - uses : actions/checkout@v2
19+ - uses : conda-incubator/setup-miniconda@v2
20+ with :
21+ activate-environment : build
22+ environment-file : environment.yml
23+ python-version : 3.9
24+ auto-activate-base : false
25+ - shell : bash -l {0}
26+ run : |
27+ conda info
28+ conda list
29+ conda env export
You can’t perform that action at this time.
0 commit comments