We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30d5228 commit 65b6a90Copy full SHA for 65b6a90
.github/workflows/update.yml
@@ -64,7 +64,7 @@ jobs:
64
AUTORESTIC_RELEASE=$(curl -sX GET "https://api.github.com/repos/cupcakearmy/autorestic/releases/latest" \
65
| jq -r '.tag_name' | sed 's|^v||')
66
APP_VERSIONS="${RESTIC_RELEASE}-${AUTORESTIC_RELEASE}"
67
- if [ -z "${APP_VERSIONS}" ] || [ "${APP_VERSIONS}" = "null" ]; then
+ if [ -z "${RESTIC_RELEASE}" ] || [ "${RESTIC_RELEASE}" = "null" ] || [ -z "${AUTORESTIC_RELEASE}" ] || [ "${AUTORESTIC_RELEASE}" = "null" ]; then
68
echo "Unable to retrieve Restic/Autorestic versions. Skipping."
69
echo "Unable to retrieve Restic/Autorestic versions. Skipping." >> $GITHUB_STEP_SUMMARY
70
APP_VERSIONS=$(cat app_versions.txt)
0 commit comments