Skip to content

Commit

Permalink
Fix appxpackage reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter authored Dec 17, 2024
1 parent 35f5fea commit a725e90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd-controls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
WORKING_DIR: '${{ github.workspace }}' # D:\a\Files\Files\
PROJECT_DIR: '${{ github.workspace }}\src\Files.App.Controls'
PACKAGE_PROJECT_PATH: '${{ github.workspace }}\src\Files.App.Controls\Files.App.Controls.csproj'
PACKAGE_MANIFEST_PATH: '${{ github.workspace }}\src\Files.App (Package)\Package.appxmanifest'

steps:
- name: Checkout the repository
Expand All @@ -53,7 +54,7 @@ jobs:
id: extract_version
shell: pwsh
run: |
$xml = [xml](Get-Content $env:PROJECT_DIR\Package.appxmanifest)
$xml = [xml](Get-Content $env:PACKAGE_MANIFEST_PATH)
$version = $xml.Package.Identity.Version
Write-Output "Found package version, $version"
echo "::set-output name=version::$version"
Expand Down

0 comments on commit a725e90

Please sign in to comment.