Skip to content

Commit f40e992

Browse files
i9mprove build action
1 parent e2af46a commit f40e992

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/windows_build.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,37 @@ jobs:
1313
matrix:
1414
os: ["windows-latest"]
1515
steps:
16-
- uses: actions/checkout@v2
16+
- name: Checkout Repository
17+
uses: actions/checkout@v2
1718
with:
1819
lfs: true
1920
- name: Checkout LFS objects
2021
run: git lfs checkout
21-
- uses: conda-incubator/setup-miniconda@v2
22+
- name: Setup Miniconda
23+
uses: conda-incubator/setup-miniconda@v2
2224
with:
2325
activate-environment: build
2426
environment-file: environment.yaml
2527
python-version: 3.9
2628
auto-activate-base: false
27-
- shell: bash -l {0}
29+
- name: Collect Conda Info
30+
shell: bash -l {0}
2831
run: |
2932
conda info
3033
conda env export
31-
- name: Get Version
34+
- name: Get Application Version
3235
id: get_version
3336
uses: battila7/get-version-action@v2
34-
- name: Build
37+
- name: Build Application
3538
shell: bash -l {0}
3639
run: |
3740
pyinstaller --add-data="funscript_editor/config/*;funscript_editor/config" --add-data="assets/*;." --hidden-import "pynput.keyboard._win32" --hidden-import "pynput.mouse._win32" funscript-editor.py
38-
- uses: papeloto/action-zip@v1
41+
- name: Add Version to Build
42+
shell: bash -l {0}
43+
run: |
44+
echo "${{ steps.get_version.outputs.version }}" > dist/funscript-editor/VERSION.txt
45+
- name: Create Asset Archive
46+
uses: papeloto/action-zip@v1
3947
with:
4048
files: dist/funscript-editor
4149
recursive: true

0 commit comments

Comments
 (0)