File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Prerelease MTFG Installer
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ miniconda :
8+ name : Miniconda ${{ matrix.os }}
9+ runs-on : ${{ matrix.os }}
10+ strategy :
11+ matrix :
12+ os : ["windows-latest"]
13+ steps :
14+ - name : Checkout Repository
15+ uses : actions/checkout@v2
16+ - name : Setup Miniconda
17+ uses : conda-incubator/setup-miniconda@v2
18+ with :
19+ activate-environment : build-installer
20+ environment-file : ./contrib/Installer/environment.yaml
21+ python-version : 3.9
22+ auto-activate-base : false
23+ - name : Collect Conda Info
24+ shell : bash -l {0}
25+ run : |
26+ conda info
27+ conda env export
28+ - name : Get Version
29+ id : get_version
30+ uses : battila7/get-version-action@v2
31+ - name : Build Installer
32+ shell : bash -l {0}
33+ working-directory : ./contrib/Installer
34+ run : |
35+ pyinstaller --add-data="assets/*;./" --noupx --onefile mtfg-ofs-extension-installer.py
36+ - uses : actions/upload-artifact@v2
37+ with :
38+ name : mtfg-ofs-extension-installer.exe
39+ path : ./contrib/Installer/dist/mtfg-ofs-extension-installer.exe
40+ retention-days : 7
41+
You can’t perform that action at this time.
0 commit comments