Make run in background #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
app: | |
name: Build Desktop App | |
runs-on: ubuntu-latest | |
container: | |
image: ivangabriele/tauri:debian-bullseye-18 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup dependencies | |
run: | | |
apt-get install -y python3-pip | |
pip3 install torch --index-url https://download.pytorch.org/whl/cpu | |
- name: Build | |
run: | | |
export LD_LIBRARY_PATH=/usr/local/lib/python3.9/dist-packages/torch/lib | |
export LIBTORCH_USE_PYTORCH=1 | |
export LIBTORCH_BYPASS_VERSION_CHECK=1 | |
npm install | |
npm run tauri -- build --verbose | |
working-directory: ./semdesk-app | |
- name: Release with Notes | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
target/release/bundle/deb/*.deb | |
target/release/bundle/deb/*.AppImage | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |