Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmentink authored Oct 28, 2024
1 parent b70dcae commit 7776c83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:

# Create the NuGet package in the folder from the environment variable NuGetDirectory
- name: Build solution and generate NuGet package
run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
run: |
dotnet nuget add source --name "Demcon Github" --username ${{github.actor}} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text "https://nuget.pkg.github.com/Demcon/index.json"
dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
# Publish the NuGet package as an artifact, so they can be used in the following jobs
- name: store artifact
Expand Down

0 comments on commit 7776c83

Please sign in to comment.