-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (44 loc) · 1.54 KB
/
Processor_FileMsiGetProperty.yaml
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
---
name: Test Processor FileMsiGetProperty
on:
push:
paths:
- "SharedProcessors/FileMsiGetProperty.py"
- "Test-Recipes/FileMsiGetProperty.test.recipe.yaml"
- ".github/workflows/Processor_FileMsiGetProperty.yaml"
pull_request:
paths:
- "SharedProcessors/FileMsiGetProperty.py"
- "Test-Recipes/FileMsiGetProperty.test.recipe.yaml"
- ".github/workflows/Processor_FileMsiGetProperty.yaml"
jobs:
ProcessorFileMsiGetProperty:
strategy:
matrix:
# https://ncorti.com/blog/howto-github-actions-build-matrix
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: setup-autopkg local action
uses: ./.github/actions/setup-autopkg
- name: Set github token autopkg
# required for githubreleaseinfoprovider in github actions
# without this, API limits will be hit
run: |
cd ~
echo ${{ secrets.GITHUB_TOKEN }} > ".autopkg_gh_token"
- name: install msiinfo linux
if: runner.os == 'Linux'
run: |
sudo apt-get install msitools -y
- name: install msiinfo MacOS
if: runner.os == 'macOS'
env:
HOMEBREW_NO_AUTO_UPDATE: 1
run: |
brew install msitools
- name: run recipe autopkg
run: python autopkg/Code/autopkg run -vv Test-Recipes/FileMsiGetProperty.test.recipe.yaml
# Related:
# - https://github.com/jgstew/bigfix-content/blob/master/.github/workflows/AutoPkgCoreProcessors.yaml