Enable git history on Pulumi repo to ensure get-version works
This commit is contained in:
parent
6e8cabdbd8
commit
35f25b0c5d
3
.github/workflows/windows-build.yml
vendored
3
.github/workflows/windows-build.yml
vendored
|
@ -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 }}
|
||||
|
|
3
.github/workflows/windows-pr.yml
vendored
3
.github/workflows/windows-pr.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue