Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1570ad14 authored by nextcloud-android-bot's avatar nextcloud-android-bot
Browse files

🔄 synced local '.github/workflows/' with remote 'config/workflows/'

parent 7b4296b2
Loading
Loading
Loading
Loading
+27 −0
Original line number Original line Diff line number Diff line
#!/usr/bin/env bash
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
# SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
#

## This file is intended to be sourced by other scripts


function err() {
    echo >&2 "$@"
}


function curl_gh() {
    if [[ -n "$GITHUB_TOKEN" ]]
    then
        curl \
            --silent \
            --header "Authorization: token $GITHUB_TOKEN" \
            "$@"
    else
        err "WARNING: No GITHUB_TOKEN found. Skipping API call"
    fi

}
+2 −0
Original line number Original line Diff line number Diff line
SPDX-FileCopyrightText: 2019-2025 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@ PR=$4
GITHUB_TOKEN=$5
GITHUB_TOKEN=$5
DAV_URL=https://nextcloud.kaminsky.me/remote.php/dav/files/$USER/android-artifacts/
DAV_URL=https://nextcloud.kaminsky.me/remote.php/dav/files/$USER/android-artifacts/


source scripts/lib.sh
source .github/workflows/lib.sh
REPO=$(cat scripts/repo)
REPO=$(cat scripts/repo)


if ! test -e app/build/outputs/apk/qa/debug/*qa-debug*.apk ; then
if ! test -e app/build/outputs/apk/qa/debug/*qa-debug*.apk ; then