Skip to content

ZWOO-414 fix: tauri config & set version at release #802

ZWOO-414 fix: tauri config & set version at release

ZWOO-414 fix: tauri config & set version at release #802

Workflow file for this run

name: Backend Pipeline
on:
workflow_call:
push:
paths-ignore:
- "frontend/**"
pull_request:
paths-ignore:
- "frontend/**"
jobs:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8"
- name: Install dependencies
working-directory: ./backend
run: dotnet restore "./ZwooBackend/ZwooBackend.csproj"
- name: Build
working-directory: ./backend
run: dotnet build "./ZwooBackend/ZwooBackend.csproj" -c Release --no-restore
# - name: Test
# working-directory: ./backend
# run: dotnet test "./GameLogic/GameLogic.csproj" -c Release --no-restore --verbosity normal
ziad:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8"
- name: Install dependencies
working-directory: ./backend
run: dotnet restore "./ZwooInfoDashBoard/ZwooInfoDashBoard.csproj"
- name: Build
working-directory: ./backend
run: dotnet build "./ZwooInfoDashBoard/ZwooInfoDashBoard.csproj" -c Release --no-restore
wasm-gamelogic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8"
- name: Install workloads
working-directory: ./backend
run: dotnet workload restore
- name: Install dependencies
working-directory: ./backend
run: dotnet restore "./ZwooWasmAdapter/ZwooWasmAdapter.csproj"
- name: Build
working-directory: ./backend
run: dotnet publish -c Release -p:RunAOTCompilation=true "./ZwooWasmAdapter/ZwooWasmAdapter.csproj"