Skip to content

Commit

Permalink
Fix for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemiller-rum committed Feb 2, 2024
1 parent 230c583 commit c87ad33
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ jobs:
id: get_version
shell: pwsh
run: |
$version = dotnet msbuild ./RDSService/RDSService.csproj -target:PrintVersion -property:Version
echo "##[set-output name=version;]$version"
working-directory: ./RDSService
$version = dotnet msbuild -target:PrintVersion | Out-String
$version = $version.Trim() # Trimming to ensure clean output
$version = $version -replace 'Version: ', '' # Extracting just the version number
echo "version=$version" >> $Env:GITHUB_OUTPUT
working-directory: ./RDSService/RDSService


- name: Create service Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit c87ad33

Please sign in to comment.