diff --git a/.github/workflows/winget-publish.yml b/.github/workflows/winget-publish.yml new file mode 100644 index 00000000000..191d1c41fa1 --- /dev/null +++ b/.github/workflows/winget-publish.yml @@ -0,0 +1,18 @@ +name: Publish to winget + +on: + release: + types: [released] + +permissions: {} + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Publish to winget + uses: vedantmgoyal9/winget-releaser@v2 + with: + identifier: polrivero.GitHubDesktopPlus + installers-regex: '\.exe$' + token: ${{ secrets.WINGET_TOKEN }} diff --git a/README.md b/README.md index a6735784929..f05b79bf57f 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,16 @@ chmod +x GitHub-Desktop-Plus-*-linux-*.AppImage
Click to expand +#### Using winget + +```powershell +winget install polrivero.GitHubDesktopPlus +``` + +To update, run `winget upgrade polrivero.GitHubDesktopPlus` or `winget upgrade --all` to update all your winget packages. + +#### Manual download + Download and execute the installer from the [releases page](https://github.com/pol-rivero/github-desktop-plus/releases/latest). | | **64-bit x86** | **64-bit ARM** |