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
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
needs: [ pack ]
permissions:
contents: write
id-token: write
steps:
- name: Download packages
uses: actions/download-artifact@v8
Expand All @@ -159,6 +160,11 @@
path: Artifacts/Packages
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v6
- name: NuGet login
id: login
uses: NuGet/login@v1

Check failure on line 165 in .github/workflows/build.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=TestableIO_System.IO.Abstractions&issues=AaGsU6_0887SUh04Q7Zg&open=AaGsU6_0887SUh04Q7Zg&pullRequest=1570
with:
user: ${{ secrets.NUGET_USER }}
- name: Publish
run: |
echo "Found the following packages to push:"
Expand All @@ -169,7 +175,7 @@
done
for entry in Artifacts/Packages/*.nupkg
do
dotnet nuget push $entry --source https://api.nuget.org/v3/index.json --api-key "${{secrets.NUGET_API_KEY}}" --skip-duplicate
dotnet nuget push $entry --source https://api.nuget.org/v3/index.json --api-key "${{ steps.login.outputs.NUGET_API_KEY }}" --skip-duplicate
done
- name: Check pre-release
id: check-pre-release
Expand Down
Loading