forked from SoDOff-Project/sodoff
16 lines
561 B
YAML
16 lines
561 B
YAML
name: Build And Publish Docker Container
|
|
run-name: ${{ gitea.actor }} is runs ci pipeline
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
- steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
- name: Setup .NET 6
|
|
uses: https://github.com/actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '6.x'
|
|
- run: dotnet restore ./src/sodoff.csproj
|
|
- run: dotnet build --configuration Release ./src/sodoff.csproj
|
|
- run: dotnet publish ./src/sodoff.csproj |