Skip to content

chore: ci to publish installer package to winget #2

chore: ci to publish installer package to winget

chore: ci to publish installer package to winget #2

Workflow file for this run

name: Publish to Winget
# on:
# push:
# branches:
# - chore/publish-winget
jobs:
publish:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install winget-cli
run: |
Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v1.0.11692/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.appxbundle -OutFile Microsoft.DesktopAppInstaller.appxbundle
Add-AppxPackage -Path Microsoft.DesktopAppInstaller.appxbundle
winget --version
- name: Publish package
run: |
winget create -i ../../pm-manifests/winget-manifest.yml