Skip to content

Commit

Permalink
Hotfix/fix pipeline (#6)
Browse files Browse the repository at this point in the history
* fix pipeline
  • Loading branch information
denis-peshkov committed May 16, 2024
1 parent bd4d9e5 commit f27dfc4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
- name: Restore dependencies
run: dotnet restore

- name: Restore dependencies with NuGet
run: nuget restore $SOLUTION

- name: Build
run: dotnet build $SOLUTION --configuration $BUILD_CONFIG --no-restore

- name: Run tests
run: dotnet test /p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal

- name: Nuget Pack
run: nuget pack _nuget/config.nuspec -Symbols -Version ${{ env.semVer }}

Expand All @@ -79,9 +79,3 @@ jobs:
- name: Nuget Push
if: ${{ !startsWith(github.ref, 'refs/pull') }}
run: nuget push **/Cross.CQRS.${{ env.semVer }}.symbols.nupkg -ApiKey ${{ secrets.NUGET_API_KEY }} -Source "https://api.nuget.org/v3/index.json" -SkipDuplicate

- name: Test
run: dotnet test --no-build --verbosity normal

- name: Run tests
run: dotnet test /p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal

0 comments on commit f27dfc4

Please sign in to comment.