updates for nuget

This commit is contained in:
Andrew Welker
2020-07-22 15:27:57 -06:00
parent a1bb6685d4
commit 49edaa33ac
13 changed files with 28 additions and 30 deletions

View File

@@ -42,7 +42,7 @@ jobs:
- name: Add Github Packages source
run: nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json -username Pepperdash -password ${{ secrets.GITHUB_TOKEN }}
- name: restore Nuget Packages
run: nuget restore .\PepperDashEssentials.sln -MSBuildVersion 4
run: nuget install .\packages.config -OutputDirectory .\packages -ExcludeVersion
# Fetch all tags
- name: Fetch tags
run: git fetch --tags

View File

@@ -37,7 +37,7 @@ jobs:
- name: Add Github Packages source
run: nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json -username Pepperdash -password ${{ secrets.GITHUB_TOKEN }}
- name: restore Nuget Packages
run: nuget restore .\PepperDashEssentials.sln -MSBuildVersion 4
run: nuget install .\packages.config -OutputDirectory .\packages -ExcludeVersion
# Generate the appropriate version number
- name: Set Version Number
shell: powershell