Skip to content

Commit ed91b13

Browse files
committed
Tweak: free only directories that are writable in the container
1 parent 8d62b16 commit ed91b13

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/recheck.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ jobs:
4141
image: ghcr.io/r-devel/recheck
4242
volumes:
4343
- /usr:/host/usr
44-
- /opt:/host/opt
4544
outputs:
4645
oldfile: ${{ steps.filenames.outputs.oldfile }}
4746
newfile: ${{ steps.filenames.outputs.newfile }}
4847
steps:
4948
- name: prepare
5049
run: |
51-
rm -Rf /host/usr/share/dotnet /host/opt/ghc /host/opt/hostedtoolscache /host/usr/local/share/boost
50+
rm -Rf /host/usr/share/dotnet /host/usr/local/lib/android
5251
mkdir -p $R_LIBS_USER
5352
R -e ".libPaths()"
5453
@@ -108,15 +107,14 @@ jobs:
108107
image: ghcr.io/r-devel/recheck
109108
volumes:
110109
- /usr:/host/usr
111-
- /opt:/host/opt
112110
timeout-minutes: 600
113111
strategy:
114112
matrix:
115113
check: [ 'oldpkg', 'newpkg' ]
116114
steps:
117115

118116
- name: Free disk space
119-
run: rm -Rf /host/usr/share/dotnet /host/opt/ghc /host/opt/hostedtoolscache /host/usr/local/share/boost
117+
run: rm -Rf /host/usr/share/dotnet /host/usr/local/lib/android
120118

121119
- name: Download package and library
122120
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)