Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

winget: update winget pkg on release #187

Merged
merged 1 commit into from
Oct 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/release-winget.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "release-winget"
on:
release:
types: [released]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Update winget repository
uses: mjcheetham/update-winget@v1.0
with:
token: ${{ secrets.WINGET_TOKEN }}
repo: microsoft/winget-pkgs
id: Microsoft.GitCredentialManagerCore
releaseAsset: gcmcore-win-x86-(.*)\.exe
manifestText: |
Id: {{id}}
Version: {{version}}
Name: Git Credential Manager Core
Publisher: Microsoft Corporation
AppMoniker: git-credential-manager-core
Homepage: https://aka.ms/gcmcore
Tags: "gcm, gcmcore, git, credential"
License: Copyright (C) Microsoft Corporation
Description: Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
Installers:
- Arch: x86
Url: {{url}}
InstallerType: Inno
Sha256: {{sha256}}
alwaysUsePullRequest: true