Enable git history on Pulumi repo to ensure get-version works

This commit is contained in:
stack72 2020-03-26 23:22:39 +00:00
parent 6e8cabdbd8
commit 35f25b0c5d
2 changed files with 6 additions and 0 deletions

View file

@ -69,6 +69,9 @@ jobs:
uses: actions/checkout@v2
with:
path: ./src/github.com/${{ github.repository }}
- name: Checkout Repo history to ensure we get correct version
run: |
cd ./src/github.com/${{ github.repository }} && git fetch --quiet --prune --unshallow
- name: Get dependencies
run: |
cd src\github.com\${{ github.repository }}

View file

@ -57,6 +57,9 @@ jobs:
uses: actions/checkout@v2
with:
path: ./src/github.com/${{ github.repository }}
- name: Checkout Repo history to ensure we get correct version
run: |
cd ./src/github.com/${{ github.repository }} && git fetch --quiet --prune --unshallow
- name: Get dependencies
run: |
cd src\github.com\${{ github.repository }}