nuget folder fixes

This commit is contained in:
StellaOps Bot
2025-12-25 19:51:26 +02:00
parent 0103defcff
commit ef6ac36323
11 changed files with 24 additions and 25 deletions

View File

@@ -93,12 +93,12 @@ jobs:
- name: Ensure binary manifests are up to date
run: |
python3 scripts/update-binary-manifests.py
git diff --exit-code local-nugets/manifest.json vendor/manifest.json offline/feeds/manifest.json
git diff --exit-code .nuget/manifest.json vendor/manifest.json offline/feeds/manifest.json
- name: Ensure Mongo test URI configured
- name: Ensure PostgreSQL test URI configured
run: |
if [ -z "${STELLAOPS_TEST_MONGO_URI:-}" ]; then
echo "::error::STELLAOPS_TEST_MONGO_URI must be provided via repository secrets or variables for Graph Indexer integration tests."
if [ -z "${STELLAOPS_TEST_POSTGRES_CONNECTION:-}" ]; then
echo "::error::STELLAOPS_TEST_POSTGRES_CONNECTION must be provided via repository secrets or variables for integration tests."
exit 1
fi

View File

@@ -56,8 +56,7 @@ jobs:
uses: actions/cache@v4
with:
path: |
~/.nuget/packages
local-nugets/packages
.nuget/packages
key: fixture-drift-nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
- name: Restore solution

View File

@@ -43,7 +43,7 @@ jobs:
with:
path: |
~/.nuget/packages
local-nugets/packages
.nuget/packages
key: policy-lint-nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
- name: Restore CLI

View File

@@ -47,7 +47,7 @@ jobs:
with:
path: |
~/.nuget/packages
local-nugets/packages
.nuget/packages
key: policy-sim-nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
- name: Restore CLI

View File

@@ -23,7 +23,7 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
TZ: UTC
SDK_NUGET_SOURCE: ${{ secrets.SDK_NUGET_SOURCE || 'local-nugets/packages' }}
SDK_NUGET_SOURCE: ${{ secrets.SDK_NUGET_SOURCE || '.nuget/packages' }}
SDK_NUGET_API_KEY: ${{ secrets.SDK_NUGET_API_KEY }}
SDK_SIGNING_CERT_B64: ${{ secrets.SDK_SIGNING_CERT_B64 }}
SDK_SIGNING_CERT_PASSWORD: ${{ secrets.SDK_SIGNING_CERT_PASSWORD }}
@@ -46,8 +46,7 @@ jobs:
uses: actions/cache@v4
with:
path: |
~/.nuget/packages
local-nugets/packages
.nuget/packages
key: sdk-nuget-${{ runner.os }}-${{ hashFiles('src/Sdk/**/*.csproj') }}
- name: Restore (best effort; skipped if no csproj)
@@ -87,6 +86,6 @@ jobs:
name: sdk-artifacts
path: |
out/sdk
local-nugets/packages/*.nupkg
.nuget/packages/*.nupkg
if-no-files-found: warn
retention-days: 7

View File

@@ -45,7 +45,7 @@ jobs:
with:
path: |
~/.nuget/packages
local-nugets/packages
.nuget/packages
key: signals-nuget-${{ runner.os }}-${{ hashFiles('src/Signals/**/*.csproj') }}
- name: Restore

View File

@@ -50,7 +50,7 @@ jobs:
with:
path: |
~/.nuget/packages
local-nugets/packages
.nuget/packages
key: budget-gate-nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
- name: Restore and Build CLI