Skip to content

Commit

Permalink
Create build-appx1.yml
Browse files Browse the repository at this point in the history
A
  • Loading branch information
Y-PLONI authored Nov 22, 2024
1 parent 755e2aa commit 769ea81
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-appx1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build APPX Package

on:
push:
branches:
- 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

0 comments on commit 769ea81

Please sign in to comment.