Skip to content

Commit ec7706c

Browse files
committed
Add verification for the package input parameter
1 parent a69aced commit ec7706c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/verify.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,30 @@ jobs:
3737
name: desktop-screenshot
3838
path: desktop.png
3939

40+
verify-macos-custom-package:
41+
name: Verify on macOS runner (custom installer package)
42+
runs-on: macos-latest
43+
steps:
44+
- name: checkout
45+
uses: actions/checkout@v6
46+
47+
- name: run setup-powerpoint
48+
uses: ./
49+
with:
50+
package: Microsoft_PowerPoint_16.102.25101829_Updater.pkg
51+
52+
- name: verify custom release
53+
run: |
54+
if [ ! -d "/Applications/Microsoft PowerPoint.app" ]; then
55+
echo "Microsoft PowerPoint is not installed"
56+
exit 1
57+
fi
58+
version=$(defaults read "/Applications/Microsoft PowerPoint.app/Contents/Info.plist" CFBundleShortVersionString || true)
59+
if [ "$version" != "16.102.1" ]; then
60+
echo "Unexpected PowerPoint version: '$version' (expected 16.102.1)"
61+
exit 1
62+
fi
63+
echo "Microsoft PowerPoint version is $version"
4064
4165
verify-ubuntu:
4266
name: Verify on Ubuntu runner

0 commit comments

Comments
 (0)