Skip to content

List installed packages and tools #1116

List installed packages and tools

List installed packages and tools #1116

name: List installed packages and tools
on:
workflow_dispatch:
schedule:
- cron: '10 1 * * *'
pull_request:
branches:
- master
paths:
- '.github/workflows/list-installed-packages-and-tools.yml'
jobs:
windows_env:
runs-on: ${{ matrix.os }}
strategy:
# we want to run the full build on all os: don't cancel running jobs even if one fails
fail-fast: false
matrix:
os: [windows-2022, windows-2025]
steps:
# The 1st powershell run is very slow, use this one to warm the process
# Next powershell calls will execute right away
- name: Ping
run: echo "I am alive"
- name: List installed browsers (64 bits)
shell: powershell
run: Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where { $_.DisplayName -like "*Chrome*" -or $_.DisplayName -like "*Edge*"} | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -AutoSize
- name: List installed browsers (32/64 bits)
shell: powershell
run: Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where { $_.DisplayName -like "*Chrome*" -or $_.DisplayName -like "*Edge*"} | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -AutoSize
- name: List all installed software (64 bits)
shell: powershell
run: Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -AutoSize
- name: List all installed software (32/64 bits)
shell: powershell
run: Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -AutoSize
ubuntu_env:
runs-on: ${{ matrix.os }}
strategy:
# we want to run the full build on all os: don't cancel running jobs even if one fails
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
steps:
- name: Check Chrome
run: apt show google-chrome-stable
- name: List all software
run: apt list