We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4039d commit f9c9494Copy full SHA for f9c9494
.github/workflows/build.yml
@@ -103,8 +103,9 @@ jobs:
103
- name: Save SDK version for later
104
run: |
105
echo "Saving SDK_VERSION for later"
106
- export SDK_VERSION=$(cat packages/core/src/version.ts | cut -f5 -d' ' | tr -d "'" | tr -d ";")
107
- echo $SDK_VERSION > dist-serverless/version
+ cat packages/core/src/version.ts | awk -F"'" '{print $2}' > dist-serverless/version
+ [ -z $(cat dist-serverless/version) ] && echo "Version extraction failed" && exit 1
108
+
109
outputs:
110
# this needs to be passed on, because the `needs` context only looks at direct ancestors (so steps which depend on
111
# `job_build` can't see `job_install_deps` and what it returned)
0 commit comments