Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build-with-cody.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ jobs:
uses: gradle/wrapper-validation-action@v3
- run: yarn global add pnpm@8.6.7
- run: |
if [ -z "${{ github.event.inputs.cody-commit }}" ]; then
if [ -z "$CODY_COMMIT" ]; then
echo "CODY_COMMIT=$(git ls-remote https://github.com/sourcegraph/cody refs/heads/main | cut -f1)" >> $GITHUB_ENV
else
echo "CODY_COMMIT=${{ github.event.inputs.cody-commit }}" >> $GITHUB_ENV
echo "$CODY_COMMIT" >> $GITHUB_ENV
fi
env:
CODY_COMMIT: {{ github.event.inputs.cody-commit }}
- run: |
git fetch --prune --unshallow
echo "RELEASE_VERSION=$(git describe --tags)-$CODY_COMMIT" >> $GITHUB_ENV
Expand Down
Loading