You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
get-net-sdk-project-versions-action
v1.3.0
This action gets versions from csproj/vbproj.
Required csproj/vbproj path.
<Version>
<VersionPrefix>
<VersionSuffix>
<PackageVersion>
<AssemblyVersion>
<FileVersion>
<InformationalVersion>
- uses: kzrnm/get-net-sdk-project-versions-action@v1
id: get-version
with:
proj-path: YourProject/YourProject.csproj
- run: echo "${{steps.get-version.outputs.version}}"
- run: echo "${{steps.get-version.outputs.version-prefix}}"
- run: echo "${{steps.get-version.outputs.version-suffix}}"
- run: echo "${{steps.get-version.outputs.package-version}}"
- run: echo "${{steps.get-version.outputs.assembly-version}}"
- run: echo "${{steps.get-version.outputs.file-version}}"
- run: echo "${{steps.get-version.outputs.informational-version}}"