Skip to content

Commit

Permalink
Add GitHub Workflow to generate transferwee.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
sharevb committed Oct 8, 2023
1 parent 7112c1f commit 4c78686
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/windows_exe_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Package transferwee with Pyinstaller

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
buildexe:
name: Build transferwee.exe
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Package transferwee
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: .

- name: Upload transferwee.exe artifact
uses: actions/upload-artifact@v2
with:
name: transferwee
path: ./dist/windows
36 changes: 36 additions & 0 deletions transferwee.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
['transferwee.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='transferwee',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)

0 comments on commit 4c78686

Please sign in to comment.