Pass --no-cache to apk even in CI

This commit is contained in:
Taiki Endo
2023-02-07 22:16:25 +09:00
parent c5ba83b5c8
commit e1d5d01924
2 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ jobs:
- name: Install requirements (alpine)
run: |
set -eux
apk add bash cargo
apk --no-cache add bash cargo
shell: sh
if: startsWith(matrix.container, 'alpine')
- uses: actions/checkout@v3

View File

@@ -275,9 +275,9 @@ snap_install() {
}
apk_install() {
if type -P doas &>/dev/null; then
doas apk add --no-cache "$@"
doas apk --no-cache add "$@"
else
apk add --no-cache "$@"
apk --no-cache add "$@"
fi
}
dnf_install() {