28 lines
573 B
YAML
28 lines
573 B
YAML
name: Build and publish mistserver
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: alpine-linux
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET SDK
|
|
run: apk add dotnet10-sdk
|
|
|
|
- name: Restore Dependencies
|
|
run: dotnet restore
|
|
|
|
- name: Dotnet Publish
|
|
run: dotnet publish --configuration Release --output ./publish --no-restore
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: dotnet-app-release
|
|
path: ./publish |