Skip to content

Commit e2b8bb7

Browse files
committed
Update .NET workflow: prerelease support & build output
.NET workflow improvements -- Added include-prerelease: true to allow using prerelease .NET SDKs in GitHub Actions. -- Removed custom output directory (-o ./publish/...) from build steps, so build artifacts go to the default location.
1 parent 37e5c1a commit e2b8bb7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/smart-select.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ jobs:
1919
uses: actions/setup-dotnet@v4
2020
with:
2121
dotnet-version: '10.0.x'
22+
include-prerelease: true
2223

2324
- name: Build and pack SmartSearch Abstractions
24-
run: dotnet build ./src/RoyalCode.SmartSelector/RoyalCode.SmartSelector.csproj -c Release -o ./publish/RoyalCode.SmartSelector
25+
run: dotnet build ./src/RoyalCode.SmartSelector/RoyalCode.SmartSelector.csproj -c Release
2526

2627
- name: Build and pack SmartSearch Persistence Abstractions
27-
run: dotnet build ./src/RoyalCode.SmartSelector.Generators/RoyalCode.SmartSelector.Generators.csproj -c Release -o ./publish/RoyalCode.SmartSelector.Generators
28+
run: dotnet build ./src/RoyalCode.SmartSelector.Generators/RoyalCode.SmartSelector.Generators.csproj -c Release
2829

2930
- name: Publish
3031
run: dotnet nuget push ./**/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)