Skip to content

Commit 078683c

Browse files
committed
better
1 parent 5fa4bad commit 078683c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/healthchecks_housekeeping.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,16 @@ jobs:
122122
set +x ; set +e
123123
#--------------#
124124
mkdir -pv "/tmp/COMMON"
125-
eget "https://github.com/Jguer/yay" --asset "$(uname -m)" --file "yay" --to "/tmp/COMMON/yay"
126-
eget "https://github.com/Morganamilo/paru" --asset "$(uname -m)" --file "paru" --to "/tmp/COMMON/paru"
125+
eget "https://github.com/Morganamilo/paru" --asset "aarch64" --file "paru" --to "/tmp/COMMON/paru-aarch64"
126+
eget "https://github.com/Morganamilo/paru" --asset "x86_64" --file "paru" --to "/tmp/COMMON/paru-x86_64"
127+
eget "https://github.com/Jguer/yay" --asset "aarch64" --file "yay" --to "/tmp/COMMON/yay-aarch64"
128+
eget "https://github.com/Jguer/yay" --asset "x86_64" --file "yay" --to "/tmp/COMMON/yay-x86_64"
127129
eget "https://github.com/VHSgunzo/runimage-fake-sudo-pkexec" --asset "any" --asset "tar.zst" --download-only --to "/tmp/COMMON/fake-sudo-pkexec.tar.zst"
128-
if [[ -s "/tmp/COMMON/yay" ]] && \
129-
[[ -s "/tmp/COMMON/paru" ]] && \
130-
[[ -s "/tmp/COMMON/fake-sudo-pkexec.tar.zst" ]]; then
130+
if [[ -s "/tmp/COMMON/fake-sudo-pkexec.tar.zst" ]] && \
131+
[[ -s "/tmp/COMMON/paru-aarch64" ]] && \
132+
[[ -s "/tmp/COMMON/paru-x86_64" ]] && \
133+
[[ -s "/tmp/COMMON/yay-aarch64" ]] && \
134+
[[ -s "/tmp/COMMON/yay-x86_64" ]]; then
131135
export HAS_COMMON="TRUE"
132136
echo "HAS_COMMON=${HAS_COMMON}" >> "${GITHUB_ENV}"
133137
UTC_TIME="$(TZ='UTC' date +'%Y_%m_%d')"

0 commit comments

Comments
 (0)