mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
update master workflow for nuget consumption
This commit is contained in:
parent
17368a0a12
commit
827678961c
1 changed files with 13 additions and 7 deletions
20
.github/workflows/master.yml
vendored
20
.github/workflows/master.yml
vendored
|
|
@ -25,13 +25,19 @@ jobs:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
# And any submodules
|
# And any submodules
|
||||||
- name: Checkout submodules
|
#- name: Checkout submodules
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
git config --global url."https://github.com/".insteadOf "git@github.com:"
|
# git config --global url."https://github.com/".insteadOf "git@github.com:"
|
||||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
# auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||||
git submodule sync --recursive
|
# git submodule sync --recursive
|
||||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
# 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: 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
|
||||||
# Generate the appropriate version number
|
# Generate the appropriate version number
|
||||||
- name: Set Version Number
|
- name: Set Version Number
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue