Skip to content

Commit b96c075

Browse files
author
arch
committed
test build files
1 parent 831564d commit b96c075

File tree

4 files changed

+51
-35
lines changed

4 files changed

+51
-35
lines changed

.github/workflows/create_release.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/windows_application_build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Windows Executable
1+
name: Release MTFG Windows Executable
22

33
on:
44
push:
@@ -54,11 +54,6 @@ jobs:
5454
files: dist/funscript-editor
5555
recursive: true
5656
dest: funscript-editor_${{ steps.get_version.outputs.version }}.zip
57-
- name: Gets latest release info
58-
id: latest_release
59-
uses: jossef/action-latest-release-info@v1.1.0
60-
env:
61-
GITHUB_TOKEN: ${{ github.token }}
6257
- name: Upload Windows Build Asset
6358
uses: svenstaro/upload-release-action@v2
6459
with:

.github/workflows/windows_installer_build.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ jobs:
3535
working-directory: ./contrib/Installer
3636
run: |
3737
pyinstaller --add-data="assets/*;./" --noupx --onefile mtfg-ofs-extension-installer.py
38-
- name: Gets latest release info
39-
id: latest_release
40-
uses: jossef/action-latest-release-info@v1.1.0
41-
env:
42-
GITHUB_TOKEN: ${{ github.token }}
4338
- name: Upload Installer
4439
uses: svenstaro/upload-release-action@v2
4540
with:
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Release MTFG OFS Extension Installer ZIP
2+
3+
on:
4+
push:
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 mtfg-ofs-extension-installer.py
36+
- name: Create Asset Archive
37+
uses: papeloto/action-zip@v1
38+
with:
39+
files: ./contrib/Installer/dist/mtfg-ofs-extension-installer
40+
recursive: true
41+
dest: mtfg-ofs-extension-installer.zip
42+
- name: Upload Installer
43+
uses: svenstaro/upload-release-action@v2
44+
with:
45+
repo_token: ${{ secrets.GITHUB_TOKEN }}
46+
file: mtfg-ofs-extension-installer.zip
47+
asset_name: mtfg-ofs-extension-installer.zip
48+
tag: ${{ github.ref }}
49+
overwrite: true
50+

0 commit comments

Comments
 (0)