Skip to content

Consolidate DEB and RPM packages #92

Consolidate DEB and RPM packages

Consolidate DEB and RPM packages #92

name: Build Client Artifact
on:
push:
branches:
- 'develop'
pull_request:
branches:
- '*'
workflow_dispatch:
env:
DOTNET_VERSION: '8.0.x'
jobs:
client:
name: Publish Client
runs-on: ubuntu-latest
env:
DatabaseConfiguration__UseInMemoryDb: true
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore Tools
run: |
cd Frontend/Bones.Api.Client
dotnet tool restore
cd ../..
- name: Publish
run: |
cd Frontend/Bones.WebUI
dotnet publish Bones.WebUI.csproj --configuration Release --property PublishDir=../../publish/
cd ../..
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: webui-wasm-client
path: ./publish