Skip to content

Commit

Permalink
Merge pull request #260 from security-companion/installer_action
Browse files Browse the repository at this point in the history
github action for automatic building of binaries and zipping
  • Loading branch information
Neo23x0 authored Nov 23, 2024
2 parents f65bd4a + 52e8e62 commit 354e7d8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: binary_creation
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: generate loki.exe
uses: JackMcKew/pyinstaller-action-windows@main
with:
spec: loki.spec
path: .
- name: generate loki-uprader.exe
uses: JackMcKew/pyinstaller-action-windows@main
with:
spec: loki-upgrader.spec
path: .
- name: create subdir
run: mkdir dist/windows/tools
- name: copy additional files
run: cp tools/pe-sieve*.exe dist/windows/tools
- name: zip files
uses: edgarrc/action-7z@v1
with:
args: 7z a -tzip -mm=Deflate -mmt=off -mx5 -mfb=32 -mpass=1 -sccUTF-8 -mem=AES256 build.7z dist/windows
- name: upload files
uses: actions/upload-artifact@v4
with:
name: loki-binaries
path: dist/windows

0 comments on commit 354e7d8

Please sign in to comment.