Skip to content

Commit

Permalink
Fix chown error in newer Alpine images [affects new builds without ca…
Browse files Browse the repository at this point in the history
…ches] (#804)

Fix chown error in newer Alpine images
  • Loading branch information
mikeage authored Dec 20, 2024
1 parent 36360c6 commit 22a22a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ jobs:
du -mcsh Library/*
find Library -size +50M -exec ls -altrh {} \;
# chown all files, since some are owned by root after the docker run
docker run -v $(pwd)/Library:/mnt alpine chown $(id -u).$(id -g) -R /mnt/
docker run -v $(pwd)/Library:/mnt alpine chown $(id -u):$(id -g) -R /mnt/
# Print the files to be deleted
find Library/Bee/ -name 'symbols.zip' -or -name 'libil2cpp*.so' -or -name 'launcher-release.apk' | tee todelete.txt
cat todelete.txt | xargs -r rm
Expand Down

0 comments on commit 22a22a2

Please sign in to comment.