Skip to content

Commit

Permalink
Test linux bin
Browse files Browse the repository at this point in the history
  • Loading branch information
Charl1996 committed Apr 11, 2024
1 parent de76132 commit 7b50b55
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ on:
types: [published]

jobs:
generate_linux_bin:
name: Generate Linux binary as release asset
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install pyinstaller
shell: bash
run: python -m pip install pyinstaller

- name: Generate exe
shell: bash
run: |
pip install commcare-export
pip install -r build_exe/requirements.txt
pyinstaller --dist ./dist/linux commcare-export.spec
- name: Upload release assets
uses: AButler/[email protected]
with:
files: "./dist/linux/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}

generate_windows_exe:
name: Generate Windows exe as release asset
runs-on: windows-latest
Expand Down

0 comments on commit 7b50b55

Please sign in to comment.