Skip to content

Merge remote-tracking branch 'origin/master' #42

Merge remote-tracking branch 'origin/master'

Merge remote-tracking branch 'origin/master' #42

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: |
cd GalanthusCli
dotnet publish -c Release --runtime win-x64 --self-contained /p:DebugType=None /p:DebugSymbols=false
dotnet publish -c Release --runtime linux-x64 --self-contained /p:DebugType=None /p:DebugSymbols=false
- name: Upload linux
uses: actions/[email protected]
with:
name: GalanthusCli-linux-x64
path: GalanthusCli/bin/Release/net8.0/linux-x64/publish
- name: Upload windows
uses: actions/[email protected]
with:
name: GalanthusCli-win-x64
path: GalanthusCli/bin/Release/net8.0/win-x64/publish