-
Notifications
You must be signed in to change notification settings - Fork 0
81 lines (75 loc) · 3.43 KB
/
update-via-script.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: Update via Scripts
on:
workflow_dispatch:
schedule:
- cron: 7 0/4 * * *
jobs:
update-scriptbased:
name: ${{ matrix.PackageName }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- PackageName: "MongoDB.Server"
WebsiteURL: "https://www.mongodb.com/try/download/community"
With: WinGetCreate
- PackageName: "MongoDB.MongoDBCLI"
WebsiteURL: "https://www.mongodb.com/try/download/tools"
With: WinGetCreate
- PackageName: "MongoDB.Shell"
WebsiteURL: "https://www.mongodb.com/try/download/tools"
With: WinGetCreate
- PackageName: "MongoDB.MongoDBAtlasCLI"
WebsiteURL: "https://www.mongodb.com/try/download/tools"
With: WinGetCreate
- PackageName: "MongoDB.DatabaseTools"
WebsiteURL: "https://www.mongodb.com/try/download/tools"
With: WinGetCreate
- PackageName: "MongoDB.Compass.Full"
WebsiteURL: "https://www.mongodb.com/try/download/tools"
With: WinGetCreate
- PackageName: "MongoDB.Compass.Isolated"
WebsiteURL: "https://www.mongodb.com/try/download/tools"
With: WinGetCreate
- PackageName: "MongoDB.Compass.Readonly"
WebsiteURL: "https://www.mongodb.com/try/download/tools"
With: WinGetCreate
- PackageName: "Logitech.OptionsPlus"
WebsiteURL: "https://download01.logi.com/web/ftp/pub/techsupport/optionsplus/logioptionsplus_installer.exe"
With: WinGetCreate
- PackageName: "Glarysoft.GlaryUtilities"
WebsiteURL: "https://download.glarysoft.com/gusetup.exe"
With: WinGetCreate
- PackageName: "GitButler.GitButler"
WebsiteURL: "https://app.gitbutler.com/downloads/release/windows/x86_64/msi"
With: WinGetCreate
- PackageName: "FlipperDevicesInc.qFlipper"
WebsiteURL: "https://update.flipperzero.one/qFlipper/directory.json"
With: WinGetCreate
- PackageName: "Loupedeck.Loupedeck"
WebsiteURL: "https://download.loupedeck.com/software/latest-win"
With: WinGetCreate
- PackageName: "StrawberryPerl.StrawberryPerl"
WebsiteURL: "https://github.com/StrawberryPerl/Perl-Dist-Strawberry"
- PackageName: "Crucial.StorageExecutive"
WebsiteURL: "https://www.crucial.com/content/dam/crucial/support/storage-executive-win-64.zip"
With: WinGetCreate
- PackageName: "SmartProjects.IsoBuster"
WebsiteURL: "https://www.isobuster.com/downloads/isobuster/isobuster_install_64bit.exe https://www.isobuster.com/downloads/isobuster/isobuster_install.exe"
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Install winget
# uses: Cyberboss/install-winget@v1
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update package
id: update_version
env:
GITHUB_TOKEN: ${{ secrets.WINGET_PAT }}
WINGET_PKGS_FORK_REPO: ${{ vars.WINGET_PKGS_FORK_REPO }}
WebsiteURL: ${{ matrix.WebsiteURL }}
PackageName: ${{ matrix.PackageName }}
With: ${{ matrix.With }}
run: .\Scripts\generic.ps1