Skip to content

Commit ca7bc62

Browse files
committed
chore(ci): install yq before retrieving Go SDK version from gen.yaml
1 parent dd2e6ff commit ca7bc62

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/sdk_publish_outpost_go.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ jobs:
3333
token: ${{ secrets.GITHUB_TOKEN }}
3434
fetch-depth: 0 # Ensure all tags are fetched
3535

36+
- name: Install yq
37+
run: |
38+
sudo apt-get update && sudo apt-get install -y yq
39+
shell: bash
40+
3641
- name: Get Go SDK Version from gen.yaml
3742
id: get_version
3843
run: |
39-
# This step assumes 'yq' is available on the runner.
40-
# If not, you might need to add a setup step for yq, e.g.:
41-
# sudo apt-get update && sudo apt-get install -y yq
4244
GEN_YAML_PATH="sdks/outpost-go/.speakeasy/gen.yaml"
4345
if [ ! -f "$GEN_YAML_PATH" ]; then
4446
echo "Error: $GEN_YAML_PATH not found."

0 commit comments

Comments
 (0)