diff --git a/.forgejo/workflows/sync-main.yml b/.forgejo/workflows/sync-main.yml index b9048ab..8f24f12 100644 --- a/.forgejo/workflows/sync-main.yml +++ b/.forgejo/workflows/sync-main.yml @@ -18,12 +18,12 @@ jobs: run: apk add grep coreutils gawk - name: Fetch info from upstream run: | - apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream update - apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream list | grep -v installed | awk '{print $1, $2}' | sort > upstream + apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream update + apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $upstream list | grep -v installed | awk '{print $1, $2}' | sort > upstream - name: Fetch info from downstream run: | - apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream update - apk --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream list | grep -v installed | awk '{print $1, $2}' | sort > downstream + apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream update + apk --force-missing-repositories --allow-untrusted --update-cache --repositories-file /dev/null --repository $downstream list | grep -v installed | awk '{print $1, $2}' | sort > downstream - name: Missing apks detection run: | comm -23 a b | awk '{print $1}' > missing