awalsh128 / cache-apt-pkgs-action

Cache APT packages in GitHub Actions
Other
205 stars 35 forks source link

Cache as root? #80

Closed ghost closed 1 year ago

ghost commented 1 year ago

There is a failed action. It said 'tar: etc/default/cacerts: Cannot open: Permission denied'. So, sudo?

ghost commented 1 year ago
      - uses: awalsh128/cache-apt-pkgs-action@latest
        with:
          packages: bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libwxgtk3.0-dev python3 openjdk-8-jdk mingw-w64
          version: 1.0
awalsh128 commented 1 year ago

This is the same as #72. I may just end up adding sudo to give it a shot. Comment in the with any observations you have or if you can help out with the asks in my last comment.