Skip to content

Commit fdeeaa4

Browse files
author
Lessley Dennington
committed
Adding winget workflows
1 parent c087afa commit fdeeaa4

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: "release-winget"
2+
on:
3+
release:
4+
types: [released]
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- id: update-winget
11+
name: Update winget repository
12+
uses: mjcheetham/[email protected]
13+
with:
14+
id: Microsoft.Git
15+
token: ${{ secrets.WINGET_TOKEN }}
16+
releaseAsset: Git-\[0-9.vfs]*\-64-bit.exe
17+
manifestText: |
18+
PackageIdentifier: {{id}}
19+
PackageVersion: {{version}}
20+
PackageName: Microsoft Git
21+
Publisher: Microsoft Corporation
22+
Moniker: microsoft-git
23+
PackageUrl: https://aka.ms/ms-git
24+
Tags: [ microsoft/git ]
25+
License: Copyright (C) Microsoft Corporation
26+
ShortDescription: |
27+
Git distribution to support monorepo scenarios.
28+
Note: This is not Git for Windows. Unless you are working in a monorepo and require
29+
specific Git modifications, please run `winget install git` to start using Git for Windows.
30+
Installers:
31+
- Architecture: x64
32+
InstallerUrl: {{url}}
33+
InstallerType: inno
34+
InstallerSha256: {{sha256}}
35+
PackageLocale: en-US
36+
ManifestType: singleton
37+
ManifestVersion: 1.0.0
38+
alwaysUsePullRequest: true

0 commit comments

Comments
 (0)