Changing Essentialls over to using nuget

This commit is contained in:
Andrew Welker
2020-06-21 00:16:13 -06:00
parent 42418fedb8
commit 1ccc2c891e
11 changed files with 36 additions and 15 deletions

View File

@@ -30,13 +30,17 @@ jobs:
with:
fetch-depth: 0
# And any submodules
- name: Checkout submodules
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "git@github.com:"
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
#- name: Checkout submodules
# shell: bash
# run: |
# git config --global url."https://github.com/".insteadOf "git@github.com:"
# auth_header="$(git config --local --get http.https://github.com/.extraheader)"
# git submodule sync --recursive
# git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Add nuget.exe
uses: nuget/setup-nuget@v1
- name: restore Nuget Packages
run: nuget restore .\PepperDashEssentials.sln -MSBuildVersion 4
# Fetch all tags
- name: Fetch tags
run: git fetch --tags