From 9a43abad547510cf28f4ca9a8fddcc0c99fea995 Mon Sep 17 00:00:00 2001 From: Alan Moon Date: Sat, 8 Mar 2025 01:11:02 -0800 Subject: [PATCH] Add .gitea/workflows/build-and-publish.yaml --- .gitea/workflows/build-and-publish.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/build-and-publish.yaml diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml new file mode 100644 index 0000000..6d67b14 --- /dev/null +++ b/.gitea/workflows/build-and-publish.yaml @@ -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 \ No newline at end of file