https://github.com/techwatching/winget-package-submission
Contains a workflow to automate the upgrade of a winget package.
https://github.com/techwatching/winget-package-submission
Last synced: 12 months ago
JSON representation
Contains a workflow to automate the upgrade of a winget package.
- Host: GitHub
- URL: https://github.com/techwatching/winget-package-submission
- Owner: TechWatching
- License: mit
- Created: 2021-11-13T22:40:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-13T23:08:44.000Z (over 4 years ago)
- Last Synced: 2025-01-08T14:18:43.730Z (about 1 year ago)
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# winget-package-submission
This repository contains a workflow to automate the upgrade of a winget package.
You can find more information in this [article](https://www.techwatching.dev/posts/wingetcreate).
## Using this workflow
To use this workflow, you have to:
- copy-paste the `.github/workflows/winget-submission.yml` file in your github repository
- generate a PAT with the scope `public_repo` and add it to the secrets of your project with the name `Project_PAT`
- replace the environment variable value `packageFileName` with the filename of your package in the GitHub releases of your project
- replace the environment variable value `packageId` with the identifier of your package in Windows Package Manager
## Windows Package Manager Manifest Creator
This workflow uses [Windows Package Manager Manifest Creator](https://github.com/microsoft/winget-create) to update and submit a new version of a package manifest
## Workflow trigger
The workflow is triggered each time a release is published. The idea behind that is to have a new package submitted when a new version of the package has been released.
## GitHub Actions
The only GitHub Action used for this workflow is the shell runner action, which is powershell core here as the workflow runs on windows-latest.