From e1d5d019243c1afd0a2d999fd1a6ffa1efa70357 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 7 Feb 2023 22:16:25 +0900 Subject: [PATCH] Pass --no-cache to apk even in CI --- .github/workflows/ci.yml | 2 +- main.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b333df2..24221ec3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/main.sh b/main.sh index b0e229b5..d7ef6ef7 100755 --- a/main.sh +++ b/main.sh @@ -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() {