fix GHA
Public Preview Builds / publish-preview (push) Successful in 39s Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-03-26 17:37:01 +01:00
parent 819bcbde08
commit e3fa27376c
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
2 changed files with 2 additions and 2 deletions

View File

@ -22,4 +22,4 @@ jobs:
- name: Build
run: dotnet build -c Release -p:SymbolPackageFormat=symbols.nupkg -p:ContinuousIntegrationBuild=true
- name: Publish
run: dotnet nuget push src/Xdg.Directories/bin/Release/*.symbols.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://git.froth.zone/api/packages/mirrors/nuget/index.json
run: dotnet nuget push src/Xdg.Directories/bin/Release/*.symbols.nupkg --api-key ${{ secrets.PUBLISH_GITEA_TOKEN }} --source https://git.froth.zone/api/packages/mirrors/nuget/index.json

View File

@ -21,7 +21,7 @@ jobs:
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Install dependencies