From 147affb5b4a6d549b54fbe58c56296ad2fb4b025 Mon Sep 17 00:00:00 2001 From: danilapog Date: Wed, 20 Jul 2022 14:39:33 +0300 Subject: [PATCH] Redefining url variable for dockerfile --- .github/workflows/4testing-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/4testing-build.yml b/.github/workflows/4testing-build.yml index b33095c..0f39e6e 100644 --- a/.github/workflows/4testing-build.yml +++ b/.github/workflows/4testing-build.yml @@ -57,7 +57,6 @@ jobs: REPO_URL=${{ secrets.UNSTABLE_REPO_URL }} fi PACKAGE_URL_CHECK=${REPO_URL}${{ matrix.edition }}_"$PACKAGE_VERSION"_${ARCH}.deb - PACKAGE_URL_BUILD=${REPO_URL}${{ matrix.edition }}_"$PACKAGE_VERSION"_TARGETARCH.deb STATUS=$(curl -s -o /dev/null -w "%{http_code}\n" "${PACKAGE_URL_CHECK}") if [[ "$STATUS" = "200" ]]; then echo "${ARCH} is avalivable >> set like one of build platforms" @@ -67,6 +66,7 @@ jobs: echo "${ARCH} in not avalivable" fi done + PACKAGE_URL_BUILD=$( echo ${PACKAGE_URL_CHECK} | sed -e "s/${PACKAGE_VERSION}_.*.deb/${PACKAGE_VERSION}_TARGETARCH.deb/g" ) ### ➡ At this step if there is no access to any platform and platform list is empty, build will exit with 1. ### if [[ -z ${BUILD_PLATFORMS} ]]; then