- added Transaction Creation/Editing/Deletion - added confirmation for transaction deletion - added app icon
42 lines
973 B
YAML
42 lines
973 B
YAML
name: Build Linux
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '8.0.x'
|
|
|
|
- name: Restore dependencies
|
|
run: dotnet restore Clario/Clario.csproj
|
|
|
|
- name: Build
|
|
run: dotnet build Clario/Clario.csproj --configuration Release --no-restore
|
|
|
|
- name: Publish
|
|
run: dotnet publish Clario/Clario.csproj \
|
|
--configuration Release \
|
|
--runtime linux-x64 \
|
|
--self-contained true \
|
|
--output ./publish/linux \
|
|
-p:PublishSingleFile=true \
|
|
-p:IncludeNativeLibrariesForSelfExtract=true
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Clario-linux-x64
|
|
path: ./publish/linux
|
|
retention-days: 7 |