Skip to content

Commit 6e211e9

Browse files
committed
Install Apple Container in macOS e2e workflow
The macos-15 runner doesn't ship with Apple Container pre-installed. Download the signed .pkg installer from the GitHub release and install it before running container system info.
1 parent eaea3ed commit 6e211e9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/macos-e2e.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ jobs:
3333
- name: Install mise
3434
uses: jdx/mise-action@v2
3535

36+
- name: Install Apple Container
37+
env:
38+
CONTAINER_VERSION: "0.11.0"
39+
run: |
40+
curl -fsSL -o container-installer.pkg \
41+
"https://github.com/apple/container/releases/download/${CONTAINER_VERSION}/container-${CONTAINER_VERSION}-installer-signed.pkg"
42+
sudo installer -pkg container-installer.pkg -target /
43+
rm container-installer.pkg
44+
3645
- name: Verify Apple Container
3746
run: container system info
3847

0 commit comments

Comments
 (0)