Update via scripts #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |