This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GitGuardian scan
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - chore/publish-winget
7
+
8
+ jobs :
9
+ scanning :
10
+ name : GitGuardian scan
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ with :
16
+ fetch-depth : 0 # fetch all history so multiple commits can be scanned
17
+ - name : GitGuardian scan
18
+ uses :
GitGuardian/ggshield/actions/[email protected]
19
+ env :
20
+ GITHUB_PUSH_BEFORE_SHA : ${{ github.event.before }}
21
+ GITHUB_PUSH_BASE_SHA : ${{ github.event.base }}
22
+ GITHUB_PULL_BASE_SHA : ${{ github.event.pull_request.base.sha }}
23
+ GITHUB_DEFAULT_BRANCH : ${{ github.event.repository.default_branch }}
24
+ GITGUARDIAN_API_KEY : ${{ secrets.GITGUARDIAN_API_KEY }}
Original file line number Diff line number Diff line change
1
+ name : Publish to Winget
2
+
3
+ # on:
4
+ # push:
5
+ # branches:
6
+ # - chore/publish-winget
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : windows-latest
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v3
14
+ - name : Install winget-cli
15
+ run : |
16
+ Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v1.0.11692/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.appxbundle -OutFile Microsoft.DesktopAppInstaller.appxbundle
17
+ Add-AppxPackage -Path Microsoft.DesktopAppInstaller.appxbundle
18
+ winget --version
19
+ - name : Publish package
20
+ run : |
21
+ winget create -i ../../pm-manifests/winget-manifest.yml
You can’t perform that action at this time.
0 commit comments