Skip to content

Commit d3d966f

Browse files
committed
Fix Continuous Integration workflow
* NUGET_PACKAGES path on Windows * id-token: write for trusted publishing
1 parent 5ced00f commit d3d966f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: 💾 Retrieve cached NuGet packages
4242
uses: actions/cache@v4
4343
with:
44-
path: ~/.nuget/packages
44+
path: ${{ env.NUGET_PACKAGES || '~/.nuget/packages' }}
4545
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
4646
restore-keys: |
4747
${{ runner.os }}-nuget-
@@ -87,6 +87,7 @@ jobs:
8787
if: startsWith(github.ref, 'refs/tags/')
8888
permissions:
8989
contents: write
90+
id-token: write
9091
name: 🐿 Publish
9192
steps:
9293
- name: 📥 Download NuGet package artifact

0 commit comments

Comments
 (0)