Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nh43de committed Jan 18, 2025
1 parent 64b37e5 commit f04f8a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore
run: dotnet restore src/PolygonApi/PolygonApi.csproj

- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build src/PolygonApi/PolygonApi.csproj --configuration Release --no-restore

- name: Run tests
run: dotnet test --configuration Release --no-restore --verbosity normal

- name: Pack NuGet package
run: dotnet pack --configuration Release --output ./artifacts
run: dotnet pack src/PolygonApi/PolygonApi.csproj --configuration Release --output ./artifacts

- name: Publish to NuGet (Pre-release or CI builds)
if: github.event_name == 'push' && contains(github.ref, 'refs/heads')
Expand Down

0 comments on commit f04f8a5

Please sign in to comment.