Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
manfromarce authored Feb 11, 2025
1 parent f26c965 commit 547653b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
dotnet-version: '8.0.x'

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

- name: Build
run: dotnet build --no-restore -c Release src/**/*.csproj
run: dotnet build --no-restore -c Release ./src/**/*.csproj

publish:
runs-on: ubuntu-latest
Expand All @@ -45,13 +45,13 @@ jobs:
dotnet-version: '8.0.x'

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

- name: Build
run: dotnet build --no-restore -c Release src/**/*.csproj
run: dotnet build --no-restore -c Release ./src/**/*.csproj

- name: Generate packages
run: dotnet pack --no-build --configuration Release src/**/*.csproj --output ./artifacts
run: dotnet pack --no-build --configuration Release ./src/**/*.csproj --output ./artifacts

- name: Publish to NuGet
run: dotnet nuget push artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
run: dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate

0 comments on commit 547653b

Please sign in to comment.