Skip to content

Commit 00b55a2

Browse files
committed
Fix appxpackage reference
1 parent b40745c commit 00b55a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cd-controls.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
WORKING_DIR: '${{ github.workspace }}' # D:\a\Files\Files\
3232
PROJECT_DIR: '${{ github.workspace }}\src\Files.App.Controls'
3333
PACKAGE_PROJECT_PATH: '${{ github.workspace }}\src\Files.App.Controls\Files.App.Controls.csproj'
34+
PACKAGE_MANIFEST_PATH: '${{ github.workspace }}\src\Files.App (Package)\Package.appxmanifest'
3435

3536
steps:
3637
- name: Checkout the repository
@@ -53,7 +54,7 @@ jobs:
5354
id: extract_version
5455
shell: pwsh
5556
run: |
56-
$xml = [xml](Get-Content $env:PROJECT_DIR\Package.appxmanifest)
57+
$xml = [xml](Get-Content $env:PACKAGE_MANIFEST_PATH)
5758
$version = $xml.Package.Identity.Version
5859
Write-Output "Found package version, $version"
5960
echo "::set-output name=version::$version"

0 commit comments

Comments
 (0)