Skip to content

Commit 5348143

Browse files
committed
fix: allow choco pack to write logs
1 parent d66a7e4 commit 5348143

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release-experimental.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ jobs:
102102
cd /tmp
103103
wget -q "https://github.com/chocolatey/choco/releases/download/2.4.1/chocolatey.v2.4.1.tar.gz"
104104
sudo tar -xzf chocolatey.v2.4.1.tar.gz -C /opt/chocolatey
105+
sudo chown -R "$USER":"$USER" /opt/chocolatey
106+
mkdir -p /opt/chocolatey/lib /opt/chocolatey/logs
105107
106108
echo '#!/bin/bash' | sudo tee /usr/local/bin/choco
107109
echo 'exec mono /opt/chocolatey/choco.exe "$@"' | sudo tee -a /usr/local/bin/choco

0 commit comments

Comments
 (0)