Skip to content

Update Packaging.wapproj #3

Update Packaging.wapproj

Update Packaging.wapproj #3

Workflow file for this run

name: Build APPX Package
on:
push:
workflow_dispatch:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Restore NuGet Packages
run: nuget restore Percentage.sln
- name: Build solution
run: msbuild.exe Percentage.sln /p:Configuration=Release
- name: Create APPX package
run: |
mkdir Packaging\Output
makeappx.exe pack /d Packaging /p Packaging\Output\BatteryPercentageIcon.appx
- name: Upload APPX as Artifact
uses: actions/upload-artifact@v3
with:
name: BatteryPercentageIcon
path: Packaging\Output\BatteryPercentageIcon.appx