You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ $package == *amd64.deb && $ARCH != "amd64" || $package == *arm64.deb && $ARCH != "arm64" ]]; then
128
138
continue
129
139
fi
130
140
echo "Installing package: $package"
@@ -138,7 +148,7 @@ runs:
138
148
echo "Dependency $dependency exists in debian repository."
139
149
else
140
150
# If the dependency has been built in the same workflow, install it
141
-
for dependency_package in $(find . -maxdepth 1 -regex "\.\/${dependency}_[0-9].*all\.deb" -o -regex "\.\/${dependency}_[0-9].*${{ inputs.arch }}\.deb"); do
151
+
for dependency_package in $(find . -maxdepth 1 -regex "\.\/${dependency}_[0-9].*all\.deb" -o -regex "\.\/${dependency}_[0-9].*${ARCH}\.deb"); do
142
152
echo "Installing dependency: $dependency_package"
143
153
error_output=$(apt-get install -y "$dependency_package" 2>&1) || { echo "$error_output" >> $error_log; echo "Error during installation of the dependency $dependency" >> $error_log; true; }
0 commit comments