diff --git a/.github/workflows/wangamail-csharp.yml b/.github/workflows/wangamail-csharp.yml index 5bf94a7..4ffb30c 100644 --- a/.github/workflows/wangamail-csharp.yml +++ b/.github/workflows/wangamail-csharp.yml @@ -264,8 +264,11 @@ jobs: - name: Restore run: dotnet restore wangamail-csharp/WangaMail.CSharp.csproj + - name: Build + run: dotnet build wangamail-csharp/WangaMail.CSharp.csproj -c Release --no-restore + - name: Pack - run: dotnet pack wangamail-csharp/WangaMail.CSharp.csproj -c Release --no-restore + run: dotnet pack wangamail-csharp/WangaMail.CSharp.csproj -c Release --no-restore --no-build - name: Publish to NuGet env: diff --git a/.github/workflows/wangapayfast-csharp.yml b/.github/workflows/wangapayfast-csharp.yml index fadbd4b..6f77062 100644 --- a/.github/workflows/wangapayfast-csharp.yml +++ b/.github/workflows/wangapayfast-csharp.yml @@ -224,6 +224,9 @@ jobs: with: dotnet-version: '8.0.x' + - name: Restore + run: dotnet restore wangapayfast-csharp/WangaPayFast.CSharp.csproj + - name: Validate NuGet key env: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} @@ -233,8 +236,11 @@ jobs: exit 1 fi + - name: Build + run: dotnet build wangapayfast-csharp/WangaPayFast.CSharp.csproj -c Release --no-restore + - name: Pack - run: dotnet pack wangapayfast-csharp/WangaPayFast.CSharp.csproj -c Release -o ./artifacts + run: dotnet pack wangapayfast-csharp/WangaPayFast.CSharp.csproj -c Release -o ./artifacts --no-build --no-restore - name: Publish package env: