Skip to content

Commit 4d9d013

Browse files
committed
[.github] we were scraping a main-gha version from a dev image
This ensures we scrap what leeway is building
1 parent b773a18 commit 4d9d013

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/workspace-integration-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,12 @@ jobs:
102102
exit 1
103103
fi
104104
105+
echo "Using RUNID $RUNID" | tee -a $GITHUB_STEP_SUMMARY
106+
MAIN_VERSION=$(gh run view "$RUNID" --log -R gitpod-io/gitpod | grep "leeway build --cache remote -Dversion=" | grep 'main-gha.[0-9]*' -o | head -n 1)
107+
echo "Using version $MAIN_VERSION" | tee -a $GITHUB_STEP_SUMMARY
108+
105109
{
106-
echo "version=$(gh run view "$RUNID" --log -R gitpod-io/gitpod | grep 'main-gha.[0-9]*' -o | head -n 1)"
110+
echo "version=$("$MAIN_VERSION")"
107111
} >> $GITHUB_OUTPUT
108112
fi
109113
if [[ '${{ inputs.image_repo_base }}' != '' ]]; then

0 commit comments

Comments
 (0)