Skip to content

Commit 3fb27d5

Browse files
committed
Working on appx building & signing
1 parent d875e44 commit 3fb27d5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
$version = if ("${{ inputs.tag }}".Length -eq 0) { "${{ inputs.tag }}.0" } else { "${{ github.ref_name }}.0" }
4747
$version = $version -replace '^v', '' # Remove 'v' prefix if present for msbuild compatibility
4848
49-
dotnet build --configuration Release -p Platform=x64 -p GenerateAppxPackageOnBuild=true
49+
dotnet build --configuration Release -p Platform=x64 -p Version=$version -p GenerateAppxPackageOnBuild=true
5050
5151
- name: Move misx Packages
5252
run: |
@@ -93,9 +93,9 @@ jobs:
9393
name: Create Release
9494
with:
9595
artifacts: "${{ github.workspace }}/tmp/*.msix" # Path to the signed msix files to upload as artifacts for the release. Use glob pattern to match all files in the tmp folder.
96-
name: Release ${{ github.ref_name }} # Use the tag as the release title
96+
name: Release $version
9797
allowUpdates: true
98-
tag: ${{ inputs.tag || github.ref_name }} # Use the provided tag or fallback to the pushed tag
98+
tag: $version
9999

100100
# publish:
101101
# runs-on: windows-latest

0 commit comments

Comments
 (0)