Skip to content

Commit b00a380

Browse files
authored
Merge pull request #5 from KilloPillers/release
Release
2 parents 0e4975d + 2688fb6 commit b00a380

File tree

2 files changed

+51
-20
lines changed

2 files changed

+51
-20
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,23 @@ on:
44
push:
55
branches:
66
- release
7-
7+
88
jobs:
99
build:
10-
runs-on: windows-latest
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: ['windows-latest']
1115

1216
steps:
13-
- name: Checkout repository
14-
uses: actions/checkout@v2
15-
16-
- name: Set up Python
17-
uses: actions/setup-python@v4
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-python@v2
1819
with:
19-
python-version: '3.8' # Specify the version of Python you need
20-
21-
- name: Install dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
pip install pyinstaller
25-
pip install -r requirements.txt
26-
27-
- name: Build with PyInstaller
28-
run: |
29-
pyinstaller --onefile mapbuilder.py
20+
python-version: 3.12.4
3021

31-
- uses: actions/upload-artifact@v2
22+
- run: pip install -r requirements.txt pyinstaller
23+
- run: pyinstaller --onefile -w mapbuilder.py
24+
- uses: actions/upload-artifact@v4
3225
with:
33-
path: dist/*
26+
path: dist/*

mapbuilder.spec

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['mapbuilder.py'],
6+
pathex=[],
7+
binaries=[],
8+
datas=[],
9+
hiddenimports=[],
10+
hookspath=[],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
optimize=0,
16+
)
17+
pyz = PYZ(a.pure)
18+
19+
exe = EXE(
20+
pyz,
21+
a.scripts,
22+
a.binaries,
23+
a.datas,
24+
[],
25+
name='mapbuilder',
26+
debug=False,
27+
bootloader_ignore_signals=False,
28+
strip=False,
29+
upx=True,
30+
upx_exclude=[],
31+
runtime_tmpdir=None,
32+
console=True,
33+
disable_windowed_traceback=False,
34+
argv_emulation=False,
35+
target_arch=None,
36+
codesign_identity=None,
37+
entitlements_file=None,
38+
)

0 commit comments

Comments
 (0)