Skip to content

Commit

Permalink
Added copying executable from dist directory to root folder to build_…
Browse files Browse the repository at this point in the history
…executable.yml.
  • Loading branch information
Shararamosh committed Aug 10, 2024
1 parent e010d21 commit da071c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_executable.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Build Windows Executable
permissions: write-all
on:
push:
branches:
Expand All @@ -17,11 +18,13 @@ jobs:
run: pip install pillow tqdm i18nice[YAML] pyinstaller
- name: Run PyInstaller
run: pyinstaller --onefile --name="flatc_deserializer" --console --icon=images\flatbuffers-logo-clean.png --add-data="images:images" --add-data="localization:localization" main.py
- name: Copy Executable from dist to root directory
run: copy dist\flatc_deserializer.exe .
- name: Create Automatic Windows Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: false
title: Latest Build
files: dist\flatc_deserializer.exe
files: flatc_deserializer.exe

0 comments on commit da071c9

Please sign in to comment.