Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/gitversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,7 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- name: Install GitVersion
run: dotnet tool install GitVersion.Tool --tool-path "$RUNNER_TEMP/gitversion" --version 6.8.2
- name: Calculate and validate version
shell: bash
run: |
set -euo pipefail
version="$("$RUNNER_TEMP/gitversion/dotnet-gitversion" /showvariable SemVer)"
test -n "$version"
echo "Calculated GitVersion SemVer: $version"
echo "### GitVersion: $version" >> "$GITHUB_STEP_SUMMARY"
- name: Calculate and validate version (shared platform)
uses: 4FusionLab/.github/.github/actions/resolve-version@ad9d60ba4aabc494b4f2c85d6c566a50ca423751
with:
variable: SemVer
Loading