fix permission errors

This commit is contained in:
Ace 2023-07-26 19:19:42 +02:00 committed by GitHub
parent 360ef85847
commit a587930405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ jobs:
echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password
sudo useradd -m -p "$(openssl passwd -1 $INKY_INITAL_PASSWORD)" inky
sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi inky
su inky
su - inky
cd /home/inky
sudo apt-get update -y
python --version
@ -86,7 +86,6 @@ jobs:
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev -y
echo $PWD && ls
git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal
sudo chown -R inky:inky Inkycal
cd Inkycal
python3 -m venv venv
. venv/bin/activate
@ -96,6 +95,7 @@ jobs:
cd inkycal/tests
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
for f in *.py; do python3 "$f"; done
sudo chown -R inky:inky /home/inky/Inkycal
- name: Compress the release image
run: |