feat: automatically sync winget fork (#313)
Co-authored-by: Vedant Mohan Goyal <[email protected]>
This commit is contained in:
co-authored by
Vedant Mohan Goyal
parent
4ffc7888bf
commit
e83bb785a0
@@ -1 +0,0 @@
|
|||||||
<svg height="18" viewBox="0 0 63.8 79.8" xmlns="http://www.w3.org/2000/svg"><path d="m5.3 19.9v33.3a15.24 15.24 0 0 0 5 10.9 15.83 15.83 0 0 0 10.9 5h5.3v10.7l15.9-15.9-15.9-15.9v10.7h-5.3a5.68 5.68 0 0 1 -3.7-1.6 4.85 4.85 0 0 1 -1.6-3.7v-33.3a10.31 10.31 0 0 0 5.3-9.2 10.71 10.71 0 0 0 -10.7-10.7 10.54 10.54 0 0 0 -10.5 10.7 11 11 0 0 0 5.3 9zm5.4-15.4a6.38 6.38 0 0 1 6.4 6.4 6.44 6.44 0 0 1 -6.4 6.4 6.51 6.51 0 0 1 -6.4-6.4 6.51 6.51 0 0 1 6.4-6.4zm31.9 59.4a10.71 10.71 0 0 0 10.7 10.7 10.54 10.54 0 0 0 10.5-10.7 10.89 10.89 0 0 0 -5.3-9.2v-34.8a10.31 10.31 0 0 0 5.3-9.2 10.7 10.7 0 1 0 -21.4 0 10.89 10.89 0 0 0 5.3 9.2v34.8a10.58 10.58 0 0 0 -5.1 9.2zm4.1-53a6.38 6.38 0 0 1 6.4-6.4 6.51 6.51 0 0 1 6.4 6.4 6.44 6.44 0 0 1 -6.4 6.4 6.51 6.51 0 0 1 -6.4-6.4zm6.4 46.6a6.38 6.38 0 0 1 6.4 6.4 6.4 6.4 0 0 1 -12.8 0 6.51 6.51 0 0 1 6.4-6.4z" fill="#4b4b4b"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 873 B |
@@ -5,7 +5,7 @@
|
|||||||
![GitHub release (latest by date)][github-release-badge]
|
![GitHub release (latest by date)][github-release-badge]
|
||||||
![GitHub Repo stars][github-repo-stars-badge]
|
![GitHub Repo stars][github-repo-stars-badge]
|
||||||
![GitHub][github-license-badge]
|
![GitHub][github-license-badge]
|
||||||
[)][playground-link]
|
[>)][playground-link]
|
||||||
|
|
||||||
Publish new releases of your application to the Windows Package Manager easily.
|
Publish new releases of your application to the Windows Package Manager easily.
|
||||||
|
|
||||||
@@ -26,8 +26,6 @@ expediting the amount of time it takes for a submission to be reviewed.
|
|||||||
|
|
||||||
2. Fork [microsoft/winget-pkgs][winget-pkgs-repo] under the same account/organization as the project's repository. If you are forking [winget-pkgs][winget-pkgs-repo] on a different account (e.g. bot/personal account), you can use the `fork-user` input to specify the username of the account where the fork is present.
|
2. Fork [microsoft/winget-pkgs][winget-pkgs-repo] under the same account/organization as the project's repository. If you are forking [winget-pkgs][winget-pkgs-repo] on a different account (e.g. bot/personal account), you can use the `fork-user` input to specify the username of the account where the fork is present.
|
||||||
|
|
||||||
- Ensure that the fork is up-to-date with the upstream. You can use **[<img src="https://github.com/vedantmgoyal9/winget-releaser/blob/main/.github/pull-app-logo.svg" valign="bottom"/> Pull App][pull-app-auto-update-forks]** which keeps your fork up-to-date via automated pull requests.
|
|
||||||
|
|
||||||
3. Add the action to your workflow file (e.g. `.github/workflows/<name>.yml`).
|
3. Add the action to your workflow file (e.g. `.github/workflows/<name>.yml`).
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
@@ -261,5 +259,4 @@ Contributions of any kind welcome!
|
|||||||
[winget-pkgs-repo]: https://github.com/microsoft/winget-pkgs
|
[winget-pkgs-repo]: https://github.com/microsoft/winget-pkgs
|
||||||
[komac-repo]: https://github.com/russellbanks/komac
|
[komac-repo]: https://github.com/russellbanks/komac
|
||||||
[russellbanks-github-profile]: https://github.com/russellbanks
|
[russellbanks-github-profile]: https://github.com/russellbanks
|
||||||
[pull-app-auto-update-forks]: https://github.com/wei/pull
|
|
||||||
[gh-encrypted-secrets]: https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow
|
[gh-encrypted-secrets]: https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow
|
||||||
|
|||||||
@@ -74,6 +74,11 @@ runs:
|
|||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
id: version-and-urls
|
id: version-and-urls
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
- run: komac sync-fork
|
||||||
|
env:
|
||||||
|
KOMAC_FORK_OWNER: ${{ inputs.fork-user }}
|
||||||
|
GITHUB_TOKEN: ${{ inputs.token }}
|
||||||
|
shell: pwsh
|
||||||
- run: komac update '${{ inputs.identifier }}' --version '${{ steps.version-and-urls.outputs.version }}' --submit --urls ${{ steps.version-and-urls.outputs.urls }}
|
- run: komac update '${{ inputs.identifier }}' --version '${{ steps.version-and-urls.outputs.version }}' --submit --urls ${{ steps.version-and-urls.outputs.urls }}
|
||||||
env:
|
env:
|
||||||
KOMAC_FORK_OWNER: ${{ inputs.fork-user }}
|
KOMAC_FORK_OWNER: ${{ inputs.fork-user }}
|
||||||
|
|||||||
Reference in New Issue
Block a user