add linux binary
This commit is contained in:
20
.github/workflows/pyinstaller.yaml
vendored
20
.github/workflows/pyinstaller.yaml
vendored
@@ -7,8 +7,8 @@ on:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
||||
build-windows:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -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
log4j-finder.spec
Normal file
32
log4j-finder.spec
Normal file
@@ -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 )
|
||||
Reference in New Issue
Block a user