Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadeem-05 authored May 28, 2024
1 parent 6113c6b commit f2c0df4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ jobs:
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: Build Backend and rename
uses: actions/setup-python@v5, dtolnay/rust-toolchain@stable
with:
python-version: '3.10'
- run: |
pip install flask flask-cors pyinstaller
pyinstaller -F src-tauri/py/app.py --distpath src-tauri/sidecars/ --onefile -n apps
python src-tauri/py/rename.py
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
run: |
Expand All @@ -48,7 +55,7 @@ jobs:
# You can remove the one that doesn't apply to your app to speed up the workflow a bit.

- name: install frontend dependencies
run: yarn install # change this to npm, pnpm or bun depending on which one you use.
run: npm run tauri build # change this to npm, pnpm or bun depending on which one you use.

- uses: tauri-apps/tauri-action@v0
env:
Expand Down

0 comments on commit f2c0df4

Please sign in to comment.