forked from SoDOff-Project/sodoff
Add .gitea/workflows/build-and-publish.yaml
This commit is contained in:
parent
d2e6423831
commit
9a43abad54
16
.gitea/workflows/build-and-publish.yaml
Normal file
16
.gitea/workflows/build-and-publish.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user