|
@@ -12,11 +12,11 @@ jobs:
|
|
- name: Checkout repository
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
- # Step 2: Setup .NET 9 SDK
|
|
|
|
- - name: Setup .NET 9 SDK
|
|
|
|
- uses: actions/setup-dotnet@v4
|
|
|
|
- with:
|
|
|
|
- dotnet-version: '9.x'
|
|
|
|
|
|
+
|
|
|
|
+ # Step 3: Get version from Directory.Build.props using PowerShell
|
|
|
|
+ - name: Get version from Directory.Build.props
|
|
|
|
+ id: get-version
|
|
|
|
+ run: pwsh -File "${{ github.workspace }}/Build/Get-VersionInfo.ps1"
|
|
|
|
|
|
# Step 3: Get version from the project file
|
|
# Step 3: Get version from the project file
|
|
- name: Get version from the project file
|
|
- name: Get version from the project file
|