Skip to content

Commit

Permalink
add linux binary
Browse files Browse the repository at this point in the history
  • Loading branch information
taufderl committed Dec 14, 2021
1 parent 115c89f commit 69ccac4
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/pyinstaller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [ main ]

jobs:
build:


build-windows:
runs-on: ubuntu-latest

steps:
Expand All @@ -23,3 +23,19 @@ jobs:
with:
name: log4j-finder.exe
path: dist/windows

build-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Package Application
uses: JackMcKew/pyinstaller-action-linux@main
with:
path: src

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


block_cipher = None


a = Analysis(['log4j-finder.py'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)

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

0 comments on commit 69ccac4

Please sign in to comment.