From a649fac48ecf424d752025d757f3611cf6e8b69e Mon Sep 17 00:00:00 2001 From: Roman Efremov Date: Mon, 27 Jan 2025 09:06:07 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BF=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D1=8E=20=D0=BA=D0=BB=D0=B8=D0=B5=D0=BD=D1=82=D0=B0=20=D0=B2=20?= =?UTF-8?q?.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/integrationTests.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/integrationTests.yaml b/.gitea/workflows/integrationTests.yaml index f5069b9..6ffe4eb 100644 --- a/.gitea/workflows/integrationTests.yaml +++ b/.gitea/workflows/integrationTests.yaml @@ -1,6 +1,9 @@ name: Unit tests run-name: ${{ gitea.actor }} is testing -on: push +on: + push: + branches: + - master jobs: test: @@ -32,7 +35,13 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 9.0.x + - name: Add gitea as nuget source + run: dotnet nuget add source --name gitea --username publisher --password ${{ secrets.PUBLISHER_PASSWORD }} --store-password-in-clear-text https://git.ddrilling.ru/api/packages/DDrilling/nuget/index.json - name: Check out repository code uses: actions/checkout@v4 - name: Run integration tests run: dotnet test DD.Persistence.IntegrationTests + - name: Pack Persistence Client + run: dotnet pack DD.Persistence.Client/DD.Persistence.Client.csproj -c Debug -o ./artifacts + - name: Publish Persistence Client Package + run: dotnet nuget push ./artifacts/DD.Persistence.Client.*.nupkg --source gitea --skip-duplicate