Skip to content

Commit

Permalink
GitVersion version 0.9.3 specified instead of 0.9
Browse files Browse the repository at this point in the history
Fixing issues.
1) "Value '' cannot be parsed as output type, please use 'json', 'file' or 'buildserver'"
2) "(node:2664) UnhandledPromiseRejectionWarning: TypeError: (e || "").replace is not a function"
According to the link GitTools/actions#76
  • Loading branch information
shoshins authored Jul 12, 2020
1 parent c0251ae commit 1eb7e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
uses: gittools/actions/gitversion/[email protected].3
with:
versionSpec: '5.3.x'
- name: Use GitVersion
id: gitversion # step id used as reference for output values
uses: gittools/actions/gitversion/[email protected]
uses: gittools/actions/gitversion/[email protected].3
- run: |
echo "NuGetVersionV2: ${{ steps.gitversion.outputs.nuGetVersionV2 }}"
echo "NuGetPreReleaseTagV2: ${{ steps.gitversion.outputs.CommitsSinceVersionSourcePadded }}"
Expand Down

0 comments on commit 1eb7e91

Please sign in to comment.