Skip to content

Commit

Permalink
chore: add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre committed Jan 8, 2025
1 parent 96f06a3 commit 5b4446e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,17 @@ jobs:
id: get_semver
shell: bash
run: |
# Run the Ruby script and store its output
semver=$(ruby echo_client_spec_version.rb)
echo "semver=$semver" >> $GITHUB_ENV
echo "Extracted semver: $semver"
# Set the environment variable if semver is non-empty
if [[ -n "$semver" ]]; then
echo "semver=$semver" >> $GITHUB_ENV
else
echo "Error: semver is empty!" >&2
exit 1
fi
- name: Download test cases
run: |
git clone --depth 5 --branch v${{ steps.get_semver.outputs.semver }} https://github.com/Unleash/client-specification.git client-specification
Expand Down

0 comments on commit 5b4446e

Please sign in to comment.