Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,29 @@ jobs:
with:
dotnet-version: 10.0.x

- name: Restore NuGet packages (use repo NuGet.config)
run: dotnet restore TechStacks.sln --configfile ./NuGet.Config

# If your feed requires authentication, enable and configure the step below.
# This example uses a Personal Access Token stored in secrets.NUGET_API_KEY.
# Alternatively, you can use the NuGet Authenticate action from Azure Pipelines.
# - name: Authenticate private NuGet feed
# env:
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
# run: |
# dotnet nuget add source "https://YOUR_FEED_URL/index.json" \
# --name "PrivateFeed" \
# --username "YOUR_USERNAME" \
# --password "$NUGET_API_KEY" \
# --store-password-in-clear-text

- name: build
run: dotnet build --configfile NuGet.Config
run: dotnet build --no-restore
working-directory: .

# - name: test
# run: |
# dotnet test
# dotnet test --no-restore
# if [ $? -eq 0 ]; then
# echo TESTS PASSED
# else
Expand Down
Loading